public class SqlSessionFactoryMonitor extends org.codehaus.griffon.runtime.monitor.AbstractMBeanRegistration implements SqlSessionFactoryMonitorMXBean
Constructor and Description |
---|
SqlSessionFactoryMonitor(Metadata metadata,
RecordingSqlSessionFactory 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 SqlSessionFactoryMonitorMXBean