Package com.flowable.content.spring
Class ContentEngineFactoryBean
- java.lang.Object
-
- com.flowable.content.spring.ContentEngineFactoryBean
-
- All Implemented Interfaces:
Aware,DisposableBean,FactoryBean<ContentEngine>,ApplicationContextAware
public class ContentEngineFactoryBean extends Object implements FactoryBean<ContentEngine>, DisposableBean, ApplicationContextAware
- Author:
- Dave Syer, Tijs Rademakers, Joram Barrez, Josh Long
-
-
Field Summary
Fields Modifier and Type Field Description protected ApplicationContextapplicationContextprotected ContentEnginecontentEngineprotected ContentEngineConfigurationcontentEngineConfiguration-
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description ContentEngineFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureExternallyManagedTransactions()voiddestroy()ContentEngineConfigurationgetContentEngineConfiguration()ContentEnginegetObject()Class<ContentEngine>getObjectType()booleanisSingleton()voidsetApplicationContext(ApplicationContext applicationContext)voidsetContentEngineConfiguration(ContentEngineConfiguration contentEngineConfiguration)
-
-
-
Field Detail
-
contentEngineConfiguration
protected ContentEngineConfiguration contentEngineConfiguration
-
applicationContext
protected ApplicationContext applicationContext
-
contentEngine
protected ContentEngine contentEngine
-
-
Method Detail
-
destroy
public void destroy() throws Exception- Specified by:
destroyin interfaceDisposableBean- Throws:
Exception
-
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
- Specified by:
setApplicationContextin interfaceApplicationContextAware- Throws:
BeansException
-
getObject
public ContentEngine getObject() throws Exception
- Specified by:
getObjectin interfaceFactoryBean<ContentEngine>- Throws:
Exception
-
configureExternallyManagedTransactions
protected void configureExternallyManagedTransactions()
-
getObjectType
public Class<ContentEngine> getObjectType()
- Specified by:
getObjectTypein interfaceFactoryBean<ContentEngine>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfaceFactoryBean<ContentEngine>
-
getContentEngineConfiguration
public ContentEngineConfiguration getContentEngineConfiguration()
-
setContentEngineConfiguration
public void setContentEngineConfiguration(ContentEngineConfiguration contentEngineConfiguration)
-
-