Package com.flowable.form.spring
Class FormEngineFactoryBean
- java.lang.Object
-
- com.flowable.form.spring.FormEngineFactoryBean
-
- All Implemented Interfaces:
Aware
,DisposableBean
,FactoryBean<FormEngine>
,ApplicationContextAware
public class FormEngineFactoryBean extends Object implements FactoryBean<FormEngine>, DisposableBean, ApplicationContextAware
- Author:
- Dave Syer, Tijs Rademakers, Joram Barrez, Josh Long
-
-
Field Summary
Fields Modifier and Type Field Description protected ApplicationContext
applicationContext
protected FormEngine
formEngine
protected FormEngineConfiguration
formEngineConfiguration
-
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description FormEngineFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureExternallyManagedTransactions()
void
destroy()
FormEngineConfiguration
getFormEngineConfiguration()
FormEngine
getObject()
Class<FormEngine>
getObjectType()
boolean
isSingleton()
void
setApplicationContext(ApplicationContext applicationContext)
void
setFormEngineConfiguration(FormEngineConfiguration formEngineConfiguration)
-
-
-
Field Detail
-
formEngineConfiguration
protected FormEngineConfiguration formEngineConfiguration
-
applicationContext
protected ApplicationContext applicationContext
-
formEngine
protected FormEngine formEngine
-
-
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 FormEngine getObject() throws Exception
- Specified by:
getObject
in interfaceFactoryBean<FormEngine>
- Throws:
Exception
-
configureExternallyManagedTransactions
protected void configureExternallyManagedTransactions()
-
getObjectType
public Class<FormEngine> getObjectType()
- Specified by:
getObjectType
in interfaceFactoryBean<FormEngine>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceFactoryBean<FormEngine>
-
getFormEngineConfiguration
public FormEngineConfiguration getFormEngineConfiguration()
-
setFormEngineConfiguration
public void setFormEngineConfiguration(FormEngineConfiguration formEngineConfiguration)
-
-