org.cateproject.persistence.versioning.hibernate
Class DefaultWorkspaceFactoryBean
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.cateproject.persistence.versioning.hibernate.DefaultWorkspaceFactoryBean
- All Implemented Interfaces:
- FactoryBean, InitializingBean, ApplicationContextAware
public class DefaultWorkspaceFactoryBean
- extends ApplicationObjectSupport
- implements FactoryBean, InitializingBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWorkspaceFactoryBean
public DefaultWorkspaceFactoryBean()
setWorkspaceName
public void setWorkspaceName(String workspaceName)
setSessionFactory
public void setSessionFactory(SessionFactory sessionFactory)
getObject
public Object getObject()
throws Exception
- Specified by:
getObject in interface FactoryBean
- Throws:
Exception
getObjectType
public Class getObjectType()
- Specified by:
getObjectType in interface FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface FactoryBean
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface InitializingBean
- Throws:
Exception
Copyright © 2008. All Rights Reserved.