org.lexevs.dao.database.type
Class DatabaseTypeFactory
java.lang.Object
org.lexevs.dao.database.type.DatabaseTypeFactory
All Implemented Interfaces: org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
public class DatabaseTypeFactory extends java.lang.Objectimplements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.FactoryBean
A factory for creating DatabaseType objects.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
DatabaseTypeFactory
public DatabaseTypeFactory ()
afterPropertiesSet
public void afterPropertiesSet ()
throws java.lang.Exception
Specified by: afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception
getObject
public java.lang.Object 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
getDataSource
public javax.sql.DataSource getDataSource ()
Gets the data source.
Returns: the data source
setDataSource
public void setDataSource (javax.sql.DataSource dataSource)
Sets the data source.
Parameters: dataSource
- the new data source
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD