org.apache.mina.integration.jmx
Class IoSessionMBean

java.lang.Object
  extended by org.apache.mina.integration.jmx.ObjectMBean<IoSession>
      extended by 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 an IoSession.

Version:
$Rev: 671827 $, $Date: 2008-06-26 10:49:48 +0200 (jeu, 26 jun 2008) $
Author:
The Apache MINA Project (dev@mina.apache.org)

Field Summary
 
Fields inherited from class org.apache.mina.integration.jmx.ObjectMBean
logger
 
Constructor Summary
IoSessionMBean(IoSession source)
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IoSessionMBean

public IoSessionMBean(IoSession source)
Method Detail

getAttribute0

protected Object getAttribute0(String fqan)
                        throws Exception
Overrides:
getAttribute0 in class ObjectMBean<IoSession>
Throws:
Exception

invoke0

protected Object invoke0(String name,
                         Object[] params,
                         String[] signature)
                  throws Exception
Overrides:
invoke0 in class ObjectMBean<IoSession>
Throws:
Exception

addExtraAttributes

protected void addExtraAttributes(List<ModelMBeanAttributeInfo> attributes)
Overrides:
addExtraAttributes in class ObjectMBean<IoSession>

addExtraOperations

protected void addExtraOperations(List<ModelMBeanOperationInfo> operations)
Overrides:
addExtraOperations in class ObjectMBean<IoSession>

isOperation

protected boolean isOperation(String methodName,
                              Class<?>[] paramTypes)
Overrides:
isOperation in class ObjectMBean<IoSession>


Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.