addNotificationListener
public void addNotificationListener(NotificationListener notificationListener,
NotificationFilter notificationFilter,
Object handBack)
throws IllegalArgumentException
javax.management.NotificationBroadcaster.addNotificationListener(javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)
definitionUpdated
public void definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition,
Properties completeInfo,
Properties changedInfo)
- definitionUpdated in interface ConfigurationListenerIF
org.logicalcobwebs.proxool.ConfigurationListenerIF.definitionUpdated(org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF, java.util.Properties, java.util.Properties)
getAttribute
public Object getAttribute(String attributeName)
throws AttributeNotFoundException,
MBeanException,
ReflectionException
javax.management.DynamicMBean.getAttribute(java.lang.String)
getAttributes
public AttributeList getAttributes(String[] attributeNames)
javax.management.DynamicMBean.getAttributes(java.lang.String[])
getMBeanInfo
public MBeanInfo getMBeanInfo()
javax.management.DynamicMBean.getMBeanInfo()
getNotificationInfo
public MBeanNotificationInfo[] getNotificationInfo()
javax.management.NotificationBroadcaster.getNotificationInfo()
invoke
public Object invoke(String operationName,
params[] ,
signature[] )
throws MBeanException,
ReflectionException
javax.management.DynamicMBean.invoke(java.lang.String, java.lang.Object[], java.lang.String[])
onRegistration
public void onRegistration(ConnectionPoolDefinitionIF connectionPoolDefinition,
Properties completeInfo)
Not used.
- onRegistration in interface ProxoolListenerIF
org.logicalcobwebs.proxool.ProxoolListenerIF.onRegistration(org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF, java.util.Properties)
onShutdown
public void onShutdown(String alias)
If the given alias equals this pools alias: Unregister this JMX bean.
- onShutdown in interface ProxoolListenerIF
org.logicalcobwebs.proxool.ProxoolListenerIF.onShutdown(java.lang.String)
postDeregister
public void postDeregister()
javax.management.MBeanRegistration.postDeregister()
postRegister
public void postRegister(Boolean success)
javax.management.MBeanRegistration.postRegister(java.lang.Boolean)
preDeregister
public void preDeregister()
throws Exception
javax.management.MBeanRegistration.preDeregister()
preRegister
public ObjectName preRegister(MBeanServer mBeanServer,
ObjectName objectName)
throws Exception
javax.management.MBeanRegistration.preRegister(javax.management.MBeanServer, javax.management.ObjectName)
removeNotificationListener
public void removeNotificationListener(NotificationListener notificationListener)
throws ListenerNotFoundException
javax.management.NotificationBroadcaster.removeNotificationListener(javax.management.NotificationListener)
setAttribute
public void setAttribute(Attribute attribute)
throws AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException
javax.management.DynamicMBean.setAttribute(javax.management.Attribute)
setAttributes
public AttributeList setAttributes(AttributeList attributes)
javax.management.DynamicMBean.setAttributes(javax.management.AttributeList)