1 22 package org.jboss.resource.connectionmanager; 23 24 import java.util.Map ; 25 26 import javax.management.ObjectName ; 27 28 import org.jboss.mx.util.ObjectNameFactory; 29 import org.jboss.system.ServiceMBean; 30 31 37 public interface CachedConnectionManagerMBean extends ServiceMBean 38 { 39 public static final ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.jca:service=CachedConnectionManager"); 40 41 46 boolean isSpecCompliant(); 47 48 53 void setSpecCompliant(boolean specCompliant); 54 55 60 boolean isDebug(); 61 62 67 void setDebug(boolean value); 68 69 74 boolean isError(); 75 76 81 void setError(boolean value); 82 83 88 ObjectName getTransactionManagerServiceName(); 89 90 95 void setTransactionManagerServiceName(ObjectName transactionManagerServiceName); 96 97 102 CachedConnectionManager getInstance(); 103 104 109 int getInUseConnections(); 110 111 116 Map listInUseConnections(); 117 } 118 | Popular Tags |