public class SessionFactoryMonitor extends org.codehaus.griffon.runtime.monitor.AbstractMBeanRegistration implements SessionFactoryMonitorMXBean
Constructor and Description |
---|
SessionFactoryMonitor(Metadata metadata,
RecordingSessionFactory delegate,
String name) |
Modifier and Type | Method and Description |
---|---|
int |
getSessionCount() |
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 getSessionCount()
getSessionCount
in interface SessionFactoryMonitorMXBean