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 void
addExtraAttributes(List<ModelMBeanAttributeInfo> attributes)
protected void
addExtraOperations(List<ModelMBeanOperationInfo> operations)
protected Object
getAttribute0(String fqan)
protected Object
invoke0(String name, Object[] params, String[] signature)
protected boolean
isOperation(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:
getAttribute0
in classObjectMBean<IoSession>
- Throws:
Exception
-
invoke0
protected Object invoke0(String name, Object[] params, String[] signature) throws Exception
- Overrides:
invoke0
in classObjectMBean<IoSession>
- Throws:
Exception
-
addExtraAttributes
protected void addExtraAttributes(List<ModelMBeanAttributeInfo> attributes)
- Overrides:
addExtraAttributes
in classObjectMBean<IoSession>
-
addExtraOperations
protected void addExtraOperations(List<ModelMBeanOperationInfo> operations)
- Overrides:
addExtraOperations
in classObjectMBean<IoSession>
-
isOperation
protected boolean isOperation(String methodName, Class<?>[] paramTypes)
- Overrides:
isOperation
in classObjectMBean<IoSession>
-
-