|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.messaging.core.jmx.JDBCMBeanSupport
public class JDBCMBeanSupport
A JDBCMBeanSupport
Field Summary | |
---|---|
protected javax.sql.DataSource |
ds
|
protected java.util.Properties |
sqlProperties
|
protected javax.transaction.TransactionManager |
tm
|
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean |
---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
---|---|
JDBCMBeanSupport()
|
Method Summary | |
---|---|
java.lang.String |
getDataSource()
|
java.lang.String |
getSqlProperties()
|
javax.management.ObjectName |
getTransactionManager()
|
boolean |
isCreateTablesOnStartup()
|
void |
setCreateTablesOnStartup(boolean b)
|
void |
setDataSource(java.lang.String dataSourceJNDIName)
|
void |
setSqlProperties(java.lang.String value)
|
void |
setTransactionManager(javax.management.ObjectName tmObjectName)
|
protected void |
startService()
|
protected void |
stopService()
|
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
---|
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, unsetKernelControllerContext |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.sql.DataSource ds
protected java.util.Properties sqlProperties
protected javax.transaction.TransactionManager tm
Constructor Detail |
---|
public JDBCMBeanSupport()
Method Detail |
---|
protected void startService() throws java.lang.Exception
startService
in class org.jboss.system.ServiceMBeanSupport
java.lang.Exception
protected void stopService() throws java.lang.Exception
stopService
in class org.jboss.system.ServiceMBeanSupport
java.lang.Exception
public java.lang.String getSqlProperties()
public void setSqlProperties(java.lang.String value)
public void setDataSource(java.lang.String dataSourceJNDIName) throws java.lang.Exception
java.lang.Exception
public java.lang.String getDataSource()
public void setTransactionManager(javax.management.ObjectName tmObjectName) throws java.lang.Exception
java.lang.Exception
public javax.management.ObjectName getTransactionManager()
public boolean isCreateTablesOnStartup() throws java.lang.Exception
java.lang.Exception
public void setCreateTablesOnStartup(boolean b) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |