Class ContentInitializer


  • public class ContentInitializer
    extends Object
    Class to initialize an initial set of content based on bean definitions.
    Author:
    Nils Bühner
    • Field Detail

      • logger

        protected final org.apache.logging.log4j.Logger logger
        The Logger
      • initService

        @Autowired
        protected InitializationService initService
        Initialization Service to init shogun content like users or default applications.
    • Constructor Detail

      • ContentInitializer

        public ContentInitializer()
    • Method Detail

      • initializeDatabaseContent

        public void initializeDatabaseContent()
        The method called on initialization
      • setShogunInitEnabled

        public void setShogunInitEnabled​(Boolean shogunInitEnabled)
        Parameters:
        shogunInitEnabled -
      • setInitService

        public void setInitService​(InitializationService initService)
        Parameters:
        initService -
      • setObjectsToCreate

        public void setObjectsToCreate​(List<PersistentObject> objectsToCreate)
        Parameters:
        objectsToCreate -