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:
DynamicMBean,MBeanRegistration,ModelMBean,ModelMBeanNotificationBroadcaster,NotificationBroadcaster,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(List<ModelMBeanAttributeInfo> attributes)protected voidaddExtraOperations(List<ModelMBeanOperationInfo> operations)protected ObjectgetAttribute0(String fqan)protected Objectinvoke0(String name, Object[] params, String[] signature)protected booleanisOperation(String methodName, 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 Object getAttribute0(String fqan) throws Exception
- Overrides:
getAttribute0in classObjectMBean<IoSession>- Throws:
Exception
-
invoke0
protected Object invoke0(String name, Object[] params, String[] signature) throws Exception
- Overrides:
invoke0in classObjectMBean<IoSession>- Throws:
Exception
-
addExtraAttributes
protected void addExtraAttributes(List<ModelMBeanAttributeInfo> attributes)
- Overrides:
addExtraAttributesin classObjectMBean<IoSession>
-
addExtraOperations
protected void addExtraOperations(List<ModelMBeanOperationInfo> operations)
- Overrides:
addExtraOperationsin classObjectMBean<IoSession>
-
isOperation
protected boolean isOperation(String methodName, Class<?>[] paramTypes)
- Overrides:
isOperationin classObjectMBean<IoSession>
-
-