public class ConnectionSourceMonitor extends org.codehaus.griffon.runtime.monitor.AbstractMBeanRegistration implements ConnectionSourceMonitorMXBean
Constructor and Description |
---|
ConnectionSourceMonitor(Metadata metadata,
RecordingConnectionSource delegate,
String name) |
Modifier and Type | Method and Description |
---|---|
int |
getConnectionCount() |
void |
postDeregister() |
ObjectName |
preRegister(MBeanServer server,
ObjectName name) |
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
preRegister
in interface MBeanRegistration
preRegister
in class org.codehaus.griffon.runtime.monitor.AbstractMBeanRegistration
Exception
public void postDeregister()
postDeregister
in interface MBeanRegistration
postDeregister
in class org.codehaus.griffon.runtime.monitor.AbstractMBeanRegistration
public int getConnectionCount()
getConnectionCount
in interface ConnectionSourceMonitorMXBean