Class DefaultActionDefinitionAutoDeployer
java.lang.Object
com.flowable.action.engine.impl.deployer.DefaultActionDefinitionAutoDeployer
- 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 DefaultActionDefinitionAutoDeployer
extends java.lang.Object
implements org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.core.Ordered
-
Field Summary
Fields Modifier and Type Field Description protected ActionEngineactionEngineprotected org.springframework.context.ApplicationContextapplicationContextstatic java.lang.StringDEFAULT_DEPLOYMENT_NAMEstatic intDEFAULT_ORDERprotected java.lang.StringdeploymentNameprotected java.util.Collection<org.springframework.core.io.Resource>deploymentResourcesprotected intorder -
Constructor Summary
Constructors Constructor Description DefaultActionDefinitionAutoDeployer(java.util.Collection<org.springframework.core.io.Resource> deploymentResources, ActionEngine actionEngine)DefaultActionDefinitionAutoDeployer(java.util.Collection<org.springframework.core.io.Resource> deploymentResources, ActionEngine actionEngine, java.lang.String deploymentName) -
Method Summary
Modifier and Type Method Description voiddeployResources()intgetOrder()voidonApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)voidsetOrder(int order)
-
Field Details
-
DEFAULT_DEPLOYMENT_NAME
public static final java.lang.String DEFAULT_DEPLOYMENT_NAME- See Also:
- Constant Field Values
-
DEFAULT_ORDER
public static final int DEFAULT_ORDER- See Also:
- Constant Field Values
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
deploymentResources
protected java.util.Collection<org.springframework.core.io.Resource> deploymentResources -
actionEngine
-
deploymentName
protected java.lang.String deploymentName -
order
protected int order
-
-
Constructor Details
-
DefaultActionDefinitionAutoDeployer
public DefaultActionDefinitionAutoDeployer(java.util.Collection<org.springframework.core.io.Resource> deploymentResources, ActionEngine actionEngine) -
DefaultActionDefinitionAutoDeployer
public DefaultActionDefinitionAutoDeployer(java.util.Collection<org.springframework.core.io.Resource> deploymentResources, ActionEngine actionEngine, java.lang.String deploymentName)
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order) -
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
deployResources
public void deployResources() -
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
-