Class DefaultPolicyDefinitionAutoDeployer

java.lang.Object
com.flowable.policy.engine.impl.deployer.DefaultPolicyDefinitionAutoDeployer
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 DefaultPolicyDefinitionAutoDeployer
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.ApplicationContext applicationContext  
    static java.lang.String DEFAULT_DEPLOYMENT_NAME  
    static int DEFAULT_ORDER  
    protected java.lang.String deploymentName  
    protected java.util.Collection<org.springframework.core.io.Resource> deploymentResources  
    protected int order  
    protected PolicyEngine policyEngine  

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors 
    Constructor Description
    DefaultPolicyDefinitionAutoDeployer​(java.util.Collection<org.springframework.core.io.Resource> deploymentResources, PolicyEngine policyEngine)  
    DefaultPolicyDefinitionAutoDeployer​(java.util.Collection<org.springframework.core.io.Resource> deploymentResources, PolicyEngine policyEngine, java.lang.String deploymentName)  
  • Method Summary

    Modifier and Type Method Description
    int getOrder()  
    void onApplicationEvent​(org.springframework.context.event.ContextRefreshedEvent event)  
    void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)  
    void setOrder​(int order)  

    Methods inherited from class java.lang.Object

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

  • Constructor Details

  • Method Details

    • getOrder

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

      public void setOrder​(int order)
    • onApplicationEvent

      public void onApplicationEvent​(org.springframework.context.event.ContextRefreshedEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
    • 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