FileDocCategorySizeDatePackage
CachedConnectionManagerMBean.javaAPI DocJBoss 4.2.13225Fri Jul 13 21:01:18 BST 2007org.jboss.resource.connectionmanager

CachedConnectionManagerMBean

public interface CachedConnectionManagerMBean implements org.jboss.system.ServiceMBean
MBean interface.
author
Adrian Brock
version
$Revision: 57189 $

Fields Summary
public static final ObjectName
OBJECT_NAME
Constructors Summary
Methods Summary
public intgetInUseConnections()
Get the inuse connections

return
the number of inuse connections

public CachedConnectionManagergetInstance()
The Instance attribute simply holds the current instance, which is normally the only instance of CachedConnectionManager.

return
a CachedConnectionManager value

public javax.management.ObjectNamegetTransactionManagerServiceName()
Get the TransactionManagerServiceName value.

return
the TransactionManagerServiceName value.

public booleanisDebug()
Get the debug value.

return
the debug value.

public booleanisError()
Get the error value.

return
the error value.

public booleanisSpecCompliant()
Get the SpecCompliant value.

return
the SpecCompliant value.

public java.util.MaplistInUseConnections()
List the inuse connections

return
a map of connections to allocation stack traces

public voidsetDebug(boolean value)
Set the Debug value.

param
value The new debug value.

public voidsetError(boolean value)
Set the error value.

param
value The new error value.

public voidsetSpecCompliant(boolean specCompliant)
Set the SpecCompliant value.

param
specCompliant The new SpecCompliant value.

public voidsetTransactionManagerServiceName(javax.management.ObjectName transactionManagerServiceName)
Set the TransactionManagerServiceName value.

param
transactionManagerServiceName The new TransactionManagerServiceName value.