Class AbstractDataGenerator

    • Field Detail

      • logger

        protected final org.apache.commons.logging.Log logger
        Logger that can be used by subclasses
    • Constructor Detail

      • AbstractDataGenerator

        public AbstractDataGenerator()
    • Method Detail

      • setBeanName

        public void setBeanName​(String name)
        Set the name with which to register
        Specified by:
        setBeanName in interface org.springframework.beans.factory.BeanNameAware
        Parameters:
        name - the name of the bean
      • setRegistry

        public void setRegistry​(org.alfresco.util.registry.NamedObjectRegistry<DataGenerator> registry)
        Set the registry with which to register
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Registers the instance
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • equals

        public boolean equals​(Object obj)
        This implementation assumes all generators are stateless i.e. if the class matches then the instances are equal.
        Overrides:
        equals in class Object