Package org.apache.mina.integration.jmx
Class IoSessionMBean
- java.lang.Object
-
- org.apache.mina.integration.jmx.ObjectMBean<IoSession>
-
- org.apache.mina.integration.jmx.IoSessionMBean
-
- All Implemented Interfaces:
javax.management.DynamicMBean,javax.management.MBeanRegistration,javax.management.modelmbean.ModelMBean,javax.management.modelmbean.ModelMBeanNotificationBroadcaster,javax.management.NotificationBroadcaster,javax.management.PersistentMBean
public class IoSessionMBean extends ObjectMBean<IoSession>
A JMX MBean wrapper for anIoSession.- Author:
- Apache MINA Project
-
-
Field Summary
-
Fields inherited from class org.apache.mina.integration.jmx.ObjectMBean
LOGGER
-
-
Constructor Summary
Constructors Constructor Description IoSessionMBean(IoSession source)Creates a new IoSessionMBean instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddExtraAttributes(java.util.List<javax.management.modelmbean.ModelMBeanAttributeInfo> attributes)protected voidaddExtraOperations(java.util.List<javax.management.modelmbean.ModelMBeanOperationInfo> operations)protected java.lang.ObjectgetAttribute0(java.lang.String fqan)protected java.lang.Objectinvoke0(java.lang.String name, java.lang.Object[] params, java.lang.String[] signature)protected booleanisOperation(java.lang.String methodName, java.lang.Class<?>[] paramTypes)-
Methods inherited from class org.apache.mina.integration.jmx.ObjectMBean
addAttributeChangeNotificationListener, addNotificationListener, getAttribute, getAttributes, getElementType, getMapKeyType, getMapValueType, getMBeanInfo, getName, getNotificationInfo, getPropertyEditor, getServer, getSource, getSource, invoke, isExpandable, isReadable, isWritable, load, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttribute0, setAttributes, setManagedResource, setModelMBeanInfo, store, toString
-
-
-
-
Constructor Detail
-
IoSessionMBean
public IoSessionMBean(IoSession source)
Creates a new IoSessionMBean instance- Parameters:
source- The IoSession to monitor
-
-
Method Detail
-
getAttribute0
protected java.lang.Object getAttribute0(java.lang.String fqan) throws java.lang.Exception- Overrides:
getAttribute0in classObjectMBean<IoSession>- Throws:
java.lang.Exception
-
invoke0
protected java.lang.Object invoke0(java.lang.String name, java.lang.Object[] params, java.lang.String[] signature) throws java.lang.Exception- Overrides:
invoke0in classObjectMBean<IoSession>- Throws:
java.lang.Exception
-
addExtraAttributes
protected void addExtraAttributes(java.util.List<javax.management.modelmbean.ModelMBeanAttributeInfo> attributes)
- Overrides:
addExtraAttributesin classObjectMBean<IoSession>
-
addExtraOperations
protected void addExtraOperations(java.util.List<javax.management.modelmbean.ModelMBeanOperationInfo> operations)
- Overrides:
addExtraOperationsin classObjectMBean<IoSession>
-
isOperation
protected boolean isOperation(java.lang.String methodName, java.lang.Class<?>[] paramTypes)- Overrides:
isOperationin classObjectMBean<IoSession>
-
-