org.alfresco.repo.workflow.jbpm
Class AlfrescoJbpmConfigurationFactoryBean

java.lang.Object
  extended by org.alfresco.repo.workflow.jbpm.AlfrescoJbpmConfigurationFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class AlfrescoJbpmConfigurationFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean

Implementation of Spring Module's JbpmConfigurationFactoryBean for Jbpm 3.2.


Constructor Summary
AlfrescoJbpmConfigurationFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
          
 void destroy()
          
 org.springframework.core.io.Resource getConfiguration()
           
 java.lang.String getContextName()
           
 org.jbpm.JbpmConfiguration getObject()
          
 org.jbpm.configuration.ObjectFactory getObjectFactory()
           
 java.lang.Class getObjectType()
          
 org.hibernate.SessionFactory getSessionFactory()
           
 boolean isSingleton()
          
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
           
 void setBeanName(java.lang.String name)
          
 void setConfiguration(org.springframework.core.io.Resource configuration)
           
 void setContextName(java.lang.String contextName)
           
 void setObjectFactory(org.jbpm.configuration.ObjectFactory objectFactory)
           
 void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlfrescoJbpmConfigurationFactoryBean

public AlfrescoJbpmConfigurationFactoryBean()
Method Detail

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
                    throws org.springframework.beans.BeansException
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
Throws:
org.springframework.beans.BeansException

setBeanName

public void setBeanName(java.lang.String name)

Specified by:
setBeanName in interface org.springframework.beans.factory.BeanNameAware

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

getObject

public org.jbpm.JbpmConfiguration getObject()
                                     throws java.lang.Exception

Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
java.lang.Exception

getObjectType

public java.lang.Class getObjectType()

Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()

Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

getConfiguration

public org.springframework.core.io.Resource getConfiguration()
Returns:
Returns the configuration.

setConfiguration

public void setConfiguration(org.springframework.core.io.Resource configuration)
Parameters:
configuration - The configuration to set

getObjectFactory

public org.jbpm.configuration.ObjectFactory getObjectFactory()
Returns:
Returns the objectFactory.

setObjectFactory

public void setObjectFactory(org.jbpm.configuration.ObjectFactory objectFactory)
Parameters:
objectFactory - The objectFactory to set

getContextName

public java.lang.String getContextName()
Returns:
Returns the contextName.

setContextName

public void setContextName(java.lang.String contextName)
Parameters:
contextName - The contextName to set

getSessionFactory

public org.hibernate.SessionFactory getSessionFactory()
Returns:
Returns the sessionFactory.

setSessionFactory

public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Parameters:
sessionFactory - The sessionFactory to set

destroy

public void destroy()
             throws java.lang.Exception

Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.