|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
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 (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
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 (src) |
getInstance()
The Instance attribute simply holds the current instance, which is normally the only instance of CachedConnectionManager. |
int |
getInUseConnections()
Get the inuse connections |
ObjectName (src) |
getTransactionManagerServiceName()
Get the TransactionManagerServiceName value. |
boolean |
isDebug()
Get the debug value. |
boolean |
isSpecCompliant()
Get the SpecCompliant value. |
java.util.Map |
listInUseConnections()
List the inuse connections |
void |
popMetaAwareObject(java.util.Set unsharableResources)
Describe popMetaAwareObject method here. |
void |
pushMetaAwareObject(java.lang.Object rawKey,
java.util.Set unsharableResources)
Describe pushMetaAwareObject method here. |
void |
setDebug(boolean value)
Set the Debug value. |
void |
setSpecCompliant(boolean specCompliant)
Set the SpecCompliant value. |
void |
setTransactionManagerServiceName(ObjectName (src) transactionManagerServiceName)
Set the TransactionManagerServiceName value. |
protected void |
startService()
Sub-classes should override this method to provide custum 'start' logic. |
protected void |
stopService()
Sub-classes should override this method to provide custum 'stop' logic. |
void |
userTransactionStarted()
|
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
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 (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected boolean trace
Constructor Detail |
public CachedConnectionManager()
Method Detail |
public boolean isSpecCompliant()
public void setSpecCompliant(boolean specCompliant)
specCompliant
- The new SpecCompliant value.public boolean isDebug()
public void setDebug(boolean value)
value
- The new debug value.public ObjectName (src) getTransactionManagerServiceName()
public void setTransactionManagerServiceName(ObjectName (src) transactionManagerServiceName)
transactionManagerServiceName
- The new TransactionManagerServiceName value.public CachedConnectionManager (src) getInstance()
CachedConnectionManager
valuepublic int getInUseConnections()
public java.util.Map listInUseConnections()
protected void startService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
startService
in class ServiceMBeanSupport (src)
java.lang.Exception
protected void stopService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
stopService
in class ServiceMBeanSupport (src)
java.lang.Exception
public void pushMetaAwareObject(java.lang.Object rawKey, java.util.Set unsharableResources) throws ResourceException (src)
pushMetaAwareObject
method here.
PUBLIC for TESTING PURPOSES ONLY!
ResourceException (src)
- if an error occurspublic void popMetaAwareObject(java.util.Set unsharableResources) throws ResourceException (src)
popMetaAwareObject
method here.
PUBLIC for TESTING PURPOSES ONLY!
ResourceException (src)
- if an error occurspublic void userTransactionStarted() throws SystemException (src)
userTransactionStarted
in interface ServerVMClientUserTransaction.UserTransactionStartedListener (src)
SystemException (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |