Class ProcessStartAnnotationBeanPostProcessor
- java.lang.Object
-
- org.springframework.aop.framework.ProxyConfig
-
- org.camunda.bpm.engine.spring.components.aop.ProcessStartAnnotationBeanPostProcessor
-
- All Implemented Interfaces:
java.io.Serializable
,org.springframework.beans.factory.config.BeanPostProcessor
,org.springframework.beans.factory.InitializingBean
public class ProcessStartAnnotationBeanPostProcessor extends org.springframework.aop.framework.ProxyConfig implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.InitializingBean
Proxies beans with methods annotated withStartProcess
. If the method is invoked successfully, the process described by the annotaton is created. Parameters passed to the method annotated withProcessVariable
are passed to the business process.- Since:
- 5,3
- Author:
- Josh Long
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessStartAnnotationBeanPostProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
java.lang.Object
postProcessAfterInitialization(java.lang.Object bean, java.lang.String beanName)
java.lang.Object
postProcessBeforeInitialization(java.lang.Object bean, java.lang.String beanName)
void
setProcessEngine(ProcessEngine processEngine)
-
-
-
Method Detail
-
setProcessEngine
public void setProcessEngine(ProcessEngine processEngine)
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
-
postProcessAfterInitialization
public java.lang.Object postProcessAfterInitialization(java.lang.Object bean, java.lang.String beanName) throws org.springframework.beans.BeansException
- Specified by:
postProcessAfterInitialization
in interfaceorg.springframework.beans.factory.config.BeanPostProcessor
- Throws:
org.springframework.beans.BeansException
-
postProcessBeforeInitialization
public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean, java.lang.String beanName) throws org.springframework.beans.BeansException
- Specified by:
postProcessBeforeInitialization
in interfaceorg.springframework.beans.factory.config.BeanPostProcessor
- Throws:
org.springframework.beans.BeansException
-
-