|
|||||||||||
| 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.resource.connectionmanager.CachedConnectionManager
The CachedConnectionManager mbean manages associations between meta-aware objects (those accessed through interceptor chains) and connection handles, and between user transactions and connection handles. Normally there should only be one such mbean. It is called by CachedConnectionInterceptor, UserTransaction, and all BaseConnectionManager2 instances. Created: Sat Jan 5 18:50:27 2002
| Field Summary | |
protected boolean |
trace
|
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.resource.connectionmanager.CachedConnectionManagerMBean |
OBJECT_NAME |
| 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 | |
CachedConnectionManager()
Default CachedConnectionManager managed constructor for mbeans. |
|
| Method Summary | |
CachedConnectionManager |
getInstance()
The Instance attribute simply holds the current instance, which is normally the only instance of CachedConnectionManager. |
int |
getInUseConnections()
Get the inuse connections |
javax.management.ObjectName |
getTransactionManagerServiceName()
Get the TransactionManagerServiceName value. |
boolean |
isDebug()
Get the debug value. |
boolean |
isSpecCompliant()
Get the SpecCompliant value. |
Map |
listInUseConnections()
List the inuse connections |
void |
popMetaAwareObject(Set unsharableResources)
Describe popMetaAwareObject method here. |
void |
pushMetaAwareObject(Object rawKey,
Set unsharableResources)
Describe pushMetaAwareObject method here. |
void |
setDebug(boolean value)
Set the Debug value. |
void |
setSpecCompliant(boolean specCompliant)
Set the SpecCompliant value. |
void |
setTransactionManagerServiceName(javax.management.ObjectName transactionManagerServiceName)
Set the TransactionManagerServiceName value. |
protected void |
startService()
|
protected void |
stopService()
|
void |
userTransactionStarted()
|
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
| Field Detail |
protected boolean trace
| Constructor Detail |
public CachedConnectionManager()
| Method Detail |
public boolean isSpecCompliant()
isSpecCompliant in interface CachedConnectionManagerMBeanpublic void setSpecCompliant(boolean specCompliant)
setSpecCompliant in interface CachedConnectionManagerMBeanspecCompliant - The new SpecCompliant value.public boolean isDebug()
isDebug in interface CachedConnectionManagerMBeanpublic void setDebug(boolean value)
setDebug in interface CachedConnectionManagerMBeanvalue - The new debug value.public javax.management.ObjectName getTransactionManagerServiceName()
getTransactionManagerServiceName in interface CachedConnectionManagerMBeanpublic void setTransactionManagerServiceName(javax.management.ObjectName transactionManagerServiceName)
setTransactionManagerServiceName in interface CachedConnectionManagerMBeantransactionManagerServiceName - The new TransactionManagerServiceName value.public CachedConnectionManager getInstance()
getInstance in interface CachedConnectionManagerMBeanCachedConnectionManager valuepublic int getInUseConnections()
getInUseConnections in interface CachedConnectionManagerMBeanpublic Map listInUseConnections()
listInUseConnections in interface CachedConnectionManagerMBean
protected void startService()
throws Exception
Exception
protected void stopService()
throws Exception
Exceptionpublic void pushMetaAwareObject(Object rawKey, Set unsharableResources) throws javax.resource.ResourceException
pushMetaAwareObject method here.
PUBLIC for TESTING PURPOSES ONLY!
javax.resource.ResourceException - if an error occurspublic void popMetaAwareObject(Set unsharableResources) throws javax.resource.ResourceException
popMetaAwareObject method here.
PUBLIC for TESTING PURPOSES ONLY!
javax.resource.ResourceException - if an error occurs
public void userTransactionStarted()
throws SystemException
userTransactionStarted in interface org.jboss.tm.usertx.client.ServerVMClientUserTransaction.UserTransactionStartedListenerSystemException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||