framework
Class JAFactory
java.lang.Object
framework.JAFactory
- All Implemented Interfaces:
- JABeanFactory, JAConnectionFactory, JAFileFactory
public class JAFactory
- extends java.lang.Object
- implements JAConnectionFactory, JAFileFactory, JABeanFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static JAFactory getInstance()
load
public void load(java.lang.String xmlFullpath)
- Specified by:
load in interface JAConnectionFactory- Specified by:
load in interface JAFileFactory
getFile
public JAFile getFile(java.lang.String name)
- Specified by:
getFile in interface JAFileFactory
getDataSource
public javax.sql.DataSource getDataSource(java.lang.String name)
- Specified by:
getDataSource in interface JAConnectionFactory
getDataSource
public javax.sql.DataSource getDataSource()
- Specified by:
getDataSource in interface JAConnectionFactory
beginTransaction
public JATransaction beginTransaction()
throws java.sql.SQLException
- Specified by:
beginTransaction in interface JAConnectionFactory
- Throws:
java.sql.SQLException
beginTransaction
public JATransaction beginTransaction(java.lang.String dsName)
throws java.sql.SQLException
- Specified by:
beginTransaction in interface JAConnectionFactory
- Throws:
java.sql.SQLException
getBeanFactory
public static JABeanFactory getBeanFactory()
getConnectionFactory
public static JAConnectionFactory getConnectionFactory()
getFileFactory
public static JAFileFactory getFileFactory()
getBean
public java.lang.Object getBean(java.lang.String beanName)
- Specified by:
getBean in interface JABeanFactory