Class RootFoldersBootstrapper
java.lang.Object
com.flowable.content.spring.bootstrap.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
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.context.ApplicationContextapplicationContextprotected ContentEnginecontentEngineprotected java.util.Collection<java.lang.String>extraRootFolderNamesprotected java.lang.StringtemplatesFolderNameprotected java.lang.StringtopFolderNameprotected java.lang.StringworkFolderName -
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
Modifier and Type Method Description intgetOrder()voidonApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Field Details
-
contentEngine
-
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 Details
-
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 Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-