当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
DataSourceSupport - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.test.framework.embedded
Class DataSourceSupport
java.lang.Object
org.jboss.portal.test.framework.embedded.DataSourceSupport
- public class DataSourceSupport
- extends java.lang.Object
An helper to setup JDNI available objects
- Version:
- $Revision: 5498 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transactionManager
private javax.transaction.TransactionManager transactionManager
connectionManagerReference
private org.jboss.resource.connectionmanager.CachedConnectionManagerReference connectionManagerReference
cfg
private DataSourceSupport.Config cfg
jndiName
private java.lang.String jndiName
ds
private LocalTxDataSource ds
DataSourceSupport
public DataSourceSupport(DataSourceSupport.Config cfg)
DataSourceSupport
public DataSourceSupport()
create
public void create()
start
public void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public void stop()
destroy
public void destroy()
getConnectionURL
public java.lang.String getConnectionURL()
setConnectionURL
public void setConnectionURL(java.lang.String connectionURL)
getDriverClass
public java.lang.String getDriverClass()
setDriverClass
public void setDriverClass(java.lang.String driverClass)
getUserName
public java.lang.String getUserName()
setUserName
public void setUserName(java.lang.String userName)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String password)
getJndiName
public java.lang.String getJndiName()
setJndiName
public void setJndiName(java.lang.String jndiName)
getTransactionManager
public javax.transaction.TransactionManager getTransactionManager()
setTransactionManager
public void setTransactionManager(javax.transaction.TransactionManager transactionManager)
getConnectionManagerReference
public org.jboss.resource.connectionmanager.CachedConnectionManagerReference getConnectionManagerReference()
setConnectionManagerReference
public void setConnectionManagerReference(org.jboss.resource.connectionmanager.CachedConnectionManagerReference connectionManagerReference)