Class EventRegistryFactoryBean
- java.lang.Object
-
- org.flowable.eventregistry.spring.EventRegistryFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<EventRegistryEngine>,org.springframework.context.ApplicationContextAware
public class EventRegistryFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<EventRegistryEngine>, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware
- Author:
- Dave Syer, Tijs Rademakers, Joram Barrez, Josh Long
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.context.ApplicationContextapplicationContextprotected EventRegistryEngineConfigurationeventEngineConfigurationprotected EventRegistryEngineeventRegistryEngine
-
Constructor Summary
Constructors Constructor Description EventRegistryFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureExternallyManagedTransactions()voiddestroy()EventRegistryEngineConfigurationgetEventEngineConfiguration()EventRegistryEnginegetObject()Class<EventRegistryEngine>getObjectType()booleanisSingleton()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)voidsetEventEngineConfiguration(EventRegistryEngineConfiguration eventEngineConfiguration)
-
-
-
Field Detail
-
eventEngineConfiguration
protected EventRegistryEngineConfiguration eventEngineConfiguration
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
-
eventRegistryEngine
protected EventRegistryEngine eventRegistryEngine
-
-
Method Detail
-
destroy
public void destroy() throws Exception- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-
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
-
getObject
public EventRegistryEngine getObject() throws Exception
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<EventRegistryEngine>- Throws:
Exception
-
configureExternallyManagedTransactions
protected void configureExternallyManagedTransactions()
-
getObjectType
public Class<EventRegistryEngine> getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<EventRegistryEngine>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<EventRegistryEngine>
-
getEventEngineConfiguration
public EventRegistryEngineConfiguration getEventEngineConfiguration()
-
setEventEngineConfiguration
public void setEventEngineConfiguration(EventRegistryEngineConfiguration eventEngineConfiguration)
-
-