Package com.flowable.content.spring
Class ContentEngineFactoryBean
java.lang.Object
com.flowable.content.spring.ContentEngineFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<ContentEngine>,org.springframework.context.ApplicationContextAware
public class ContentEngineFactoryBean extends java.lang.Object implements org.springframework.beans.factory.FactoryBean<ContentEngine>, 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 ContentEnginecontentEngineprotected ContentEngineConfigurationcontentEngineConfiguration -
Constructor Summary
Constructors Constructor Description ContentEngineFactoryBean() -
Method Summary
Modifier and Type Method Description protected voidconfigureExternallyManagedTransactions()voiddestroy()ContentEngineConfigurationgetContentEngineConfiguration()ContentEnginegetObject()java.lang.Class<ContentEngine>getObjectType()booleanisSingleton()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)voidsetContentEngineConfiguration(ContentEngineConfiguration contentEngineConfiguration)
-
Field Details
-
contentEngineConfiguration
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
contentEngine
-
-
Constructor Details
-
ContentEngineFactoryBean
public ContentEngineFactoryBean()
-
-
Method Details
-
destroy
public void destroy() throws java.lang.Exception- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
java.lang.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
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<ContentEngine>- Throws:
java.lang.Exception
-
configureExternallyManagedTransactions
protected void configureExternallyManagedTransactions() -
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<ContentEngine>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<ContentEngine>
-
getContentEngineConfiguration
-
setContentEngineConfiguration
-