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
All Methods Instance Methods Concrete Methods 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 Detail
-
contentEngineConfiguration
protected ContentEngineConfiguration contentEngineConfiguration
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
-
contentEngine
protected ContentEngine contentEngine
-
-
Method Detail
-
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
public ContentEngine getObject() throws java.lang.Exception
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<ContentEngine>
- Throws:
java.lang.Exception
-
configureExternallyManagedTransactions
protected void configureExternallyManagedTransactions()
-
getObjectType
public java.lang.Class<ContentEngine> 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
public ContentEngineConfiguration getContentEngineConfiguration()
-
setContentEngineConfiguration
public void setContentEngineConfiguration(ContentEngineConfiguration contentEngineConfiguration)
-
-