Creating a Taxonomic e-Science

org.cateproject.persistence.versioning.hibernate
Class DefaultWorkspaceFactoryBean

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.cateproject.persistence.versioning.hibernate.DefaultWorkspaceFactoryBean
All Implemented Interfaces:
FactoryBean, InitializingBean, ApplicationContextAware

public class DefaultWorkspaceFactoryBean
extends ApplicationObjectSupport
implements FactoryBean, InitializingBean


Field Summary
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
DefaultWorkspaceFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 Object getObject()
           
 Class getObjectType()
           
 boolean isSingleton()
           
 void setSessionFactory(SessionFactory sessionFactory)
           
 void setWorkspaceName(String workspaceName)
           
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, initApplicationContext, isContextRequired, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWorkspaceFactoryBean

public DefaultWorkspaceFactoryBean()
Method Detail

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

Creating a Taxonomic e-Science

Copyright © 2008. All Rights Reserved.