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.ApplicationContext
applicationContext
protected ContentEngine
contentEngine
protected ContentEngineConfiguration
contentEngineConfiguration
-
Constructor Summary
Constructors Constructor Description ContentEngineFactoryBean()
-
Method Summary
Modifier and Type Method Description protected void
configureExternallyManagedTransactions()
void
destroy()
ContentEngineConfiguration
getContentEngineConfiguration()
ContentEngine
getObject()
java.lang.Class<ContentEngine>
getObjectType()
boolean
isSingleton()
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
void
setContentEngineConfiguration(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:
destroy
in 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:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getObject
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<ContentEngine>
- Throws:
java.lang.Exception
-
configureExternallyManagedTransactions
protected void configureExternallyManagedTransactions() -
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<ContentEngine>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean<ContentEngine>
-
getContentEngineConfiguration
-
setContentEngineConfiguration
-