Class 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 an IoSession.
    Author:
    Apache MINA Project
    • 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:
        getAttribute0 in class ObjectMBean<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:
        invoke0 in class ObjectMBean<IoSession>
        Throws:
        java.lang.Exception
      • addExtraAttributes

        protected void addExtraAttributes​(java.util.List<javax.management.modelmbean.ModelMBeanAttributeInfo> attributes)
        Overrides:
        addExtraAttributes in class ObjectMBean<IoSession>
      • addExtraOperations

        protected void addExtraOperations​(java.util.List<javax.management.modelmbean.ModelMBeanOperationInfo> operations)
        Overrides:
        addExtraOperations in class ObjectMBean<IoSession>
      • isOperation

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