|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
public class ConnectionPoolMBean
JMX DynamicMBean adapter for a Proxool connection pool.
See the configuration documentation to learn
how to activate a pool for JMX. No programming is necessary to do this.
Attributes
Operations
Notifications
| 字段摘要 | |
|---|---|
static String |
NOTIFICATION_TYPE_DEFINITION_UPDATED
Notification type emitted when the pool definition is updated. |
| 构造方法摘要 | |
|---|---|
ConnectionPoolMBean(String alias,
Properties poolProperties)
|
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public static final String NOTIFICATION_TYPE_DEFINITION_UPDATED
| 构造方法详细信息 |
|---|
public ConnectionPoolMBean(String alias,
Properties poolProperties)
throws ProxoolException
ProxoolException| 方法详细信息 |
|---|
public Object getAttribute(String attributeName)
throws AttributeNotFoundException,
MBeanException,
ReflectionException
DynamicMBean 中的 getAttributeAttributeNotFoundException
MBeanException
ReflectionExceptionDynamicMBean.getAttribute(java.lang.String)
public void setAttribute(Attribute attribute)
throws AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException
DynamicMBean 中的 setAttributeAttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionExceptionDynamicMBean.setAttribute(javax.management.Attribute)public AttributeList getAttributes(String[] attributeNames)
DynamicMBean 中的 getAttributesDynamicMBean.getAttributes(java.lang.String[])public AttributeList setAttributes(AttributeList attributes)
DynamicMBean 中的 setAttributesDynamicMBean.setAttributes(javax.management.AttributeList)
public Object invoke(String operationName,
Object[] params,
String[] signature)
throws MBeanException,
ReflectionException
DynamicMBean 中的 invokeMBeanException
ReflectionExceptionDynamicMBean.invoke(java.lang.String, java.lang.Object[], java.lang.String[])public MBeanInfo getMBeanInfo()
DynamicMBean 中的 getMBeanInfoDynamicMBean.getMBeanInfo()
public void onRegistration(ConnectionPoolDefinitionIF connectionPoolDefinition,
Properties completeInfo)
ProxoolListenerIF 中的 onRegistrationconnectionPoolDefinition - the new definition.completeInfo - the properties that could be used to create this definition.ProxoolListenerIF.onRegistration(org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF, java.util.Properties)public void onShutdown(String alias)
ProxoolListenerIF 中的 onShutdownalias - the alias of the pool about to be shut down.ProxoolListenerIF.onShutdown(java.lang.String)
public void definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition,
Properties completeInfo,
Properties changedInfo)
NOTIFICATION_TYPE_DEFINITION_UPDATED event.
ConfigurationListenerIF 中的 definitionUpdatedconnectionPoolDefinition - the new definitioncompleteInfo - the properties that could be used to create this definitionchangedInfo - only the properties that have changed since the pool was
registered, or this method was las called.ConfigurationListenerIF.definitionUpdated(org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF, java.util.Properties, java.util.Properties)
public void addNotificationListener(NotificationListener notificationListener,
NotificationFilter notificationFilter,
Object handBack)
throws IllegalArgumentException
NotificationBroadcaster 中的 addNotificationListenerIllegalArgumentExceptionNotificationBroadcaster.addNotificationListener(javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)
public void removeNotificationListener(NotificationListener notificationListener)
throws ListenerNotFoundException
NotificationBroadcaster 中的 removeNotificationListenerListenerNotFoundExceptionNotificationBroadcaster.removeNotificationListener(javax.management.NotificationListener)public MBeanNotificationInfo[] getNotificationInfo()
NotificationBroadcaster 中的 getNotificationInfoNotificationBroadcaster.getNotificationInfo()
public ObjectName preRegister(MBeanServer mBeanServer,
ObjectName objectName)
throws Exception
MBeanRegistration 中的 preRegisterExceptionMBeanRegistration.preRegister(javax.management.MBeanServer, javax.management.ObjectName)public void postRegister(Boolean success)
MBeanRegistration 中的 postRegisterMBeanRegistration.postRegister(java.lang.Boolean)
public void preDeregister()
throws Exception
MBeanRegistration 中的 preDeregisterExceptionMBeanRegistration.preDeregister()public void postDeregister()
MBeanRegistration 中的 postDeregisterMBeanRegistration.postDeregister()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||