Class RootFoldersBootstrapper

  • All Implemented Interfaces:
    java.util.EventListener, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.core.Ordered

    public class RootFoldersBootstrapper
    extends java.lang.Object
    implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.core.Ordered, org.springframework.context.ApplicationContextAware
    • Constructor Summary

      Constructors 
      Constructor Description
      RootFoldersBootstrapper​(ContentEngine contentEngine, java.lang.String topFolderName, java.lang.String workFolderName, java.lang.String templatesFolderName, java.util.Collection<java.lang.String> extraRootFolderNames)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getOrder()  
      void onApplicationEvent​(org.springframework.context.event.ContextRefreshedEvent event)  
      void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • topFolderName

        protected java.lang.String topFolderName
      • workFolderName

        protected java.lang.String workFolderName
      • templatesFolderName

        protected java.lang.String templatesFolderName
      • extraRootFolderNames

        protected java.util.Collection<java.lang.String> extraRootFolderNames
      • applicationContext

        protected org.springframework.context.ApplicationContext applicationContext
    • Constructor Detail

      • RootFoldersBootstrapper

        public RootFoldersBootstrapper​(ContentEngine contentEngine,
                                       java.lang.String topFolderName,
                                       java.lang.String workFolderName,
                                       java.lang.String templatesFolderName,
                                       java.util.Collection<java.lang.String> extraRootFolderNames)
    • Method Detail

      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.context.event.ContextRefreshedEvent event)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException