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 ApplicationContext
applicationContext
protected ContentEngine
contentEngine
protected ContentEngineConfiguration
contentEngineConfiguration
-
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 void
configureExternallyManagedTransactions()
void
destroy()
ContentEngineConfiguration
getContentEngineConfiguration()
ContentEngine
getObject()
Class<ContentEngine>
getObjectType()
boolean
isSingleton()
void
setApplicationContext(ApplicationContext applicationContext)
void
setContentEngineConfiguration(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:
destroy
in interfaceDisposableBean
- Throws:
Exception
-
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
- Specified by:
setApplicationContext
in interfaceApplicationContextAware
- Throws:
BeansException
-
getObject
public ContentEngine getObject() throws Exception
- Specified by:
getObject
in interfaceFactoryBean<ContentEngine>
- Throws:
Exception
-
configureExternallyManagedTransactions
protected void configureExternallyManagedTransactions()
-
getObjectType
public Class<ContentEngine> getObjectType()
- Specified by:
getObjectType
in interfaceFactoryBean<ContentEngine>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceFactoryBean<ContentEngine>
-
getContentEngineConfiguration
public ContentEngineConfiguration getContentEngineConfiguration()
-
setContentEngineConfiguration
public void setContentEngineConfiguration(ContentEngineConfiguration contentEngineConfiguration)
-
-