EAF 7.6 API

com.lutris.appserver.server
Class StandardApplication.ContextMBean

java.lang.Object
  extended by com.lutris.appserver.server.StandardApplication.ContextMBean
All Implemented Interfaces:
javax.management.DynamicMBean
Enclosing class:
StandardApplication

public static class StandardApplication.ContextMBean
extends java.lang.Object
implements javax.management.DynamicMBean


Field Summary
protected  java.lang.String dClassName
           
protected  javax.management.MBeanInfo dMBeanInfo
           
 
Constructor Summary
StandardApplication.ContextMBean(Application application)
           
 
Method Summary
 void buildDynamicMBeanInfo()
           
 java.lang.String getAppContext()
           
 java.lang.String getAppName()
           
 java.lang.String getAppRealContext()
           
 java.lang.Object getAttribute(java.lang.String attribute_name)
          Allows the value of the specified attribute of the Dynamic MBean to be obtained.
 javax.management.AttributeList getAttributes(java.lang.String[] attributeNames)
          get the values of several attributes of the Dynamic MBean.
protected  java.lang.String getDescription()
          Method returns MBean's description
protected  javax.management.MBeanAttributeInfo[] getMBeanAttributesInfo()
          Method returns MBean's MBeanAttributeInfo Array
protected  javax.management.MBeanConstructorInfo[] getMBeanConstructorInfo()
          Method returns MBean's MBeanConstructorInfo Array
 javax.management.MBeanInfo getMBeanInfo()
          This method provides the exposed attributes and operations of the Dynamic MBean.
protected  javax.management.MBeanNotificationInfo[] getMBeanNotificationInfo()
          Method returns MBean's MBeanNotificationInfo Array
protected  javax.management.MBeanOperationInfo[] getMBeanOperationsInfo()
          Method returns MBean's MBeanOperationInfo Array
 java.lang.Object invoke(java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature)
          Allows an operation to be invoked on the Dynamic MBean.
 void setAttribute(javax.management.Attribute attribute)
          Sets the value of the specified attribute of the Dynamic MBean.
 javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
          Sets the values of several attributes of the Dynamic MBean, and returns the list of attributes that have been set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dClassName

protected java.lang.String dClassName

dMBeanInfo

protected javax.management.MBeanInfo dMBeanInfo
Constructor Detail

StandardApplication.ContextMBean

public StandardApplication.ContextMBean(Application application)
Method Detail

getAppContext

public java.lang.String getAppContext()

getAppRealContext

public java.lang.String getAppRealContext()

getAppName

public java.lang.String getAppName()

buildDynamicMBeanInfo

public void buildDynamicMBeanInfo()

getMBeanAttributesInfo

protected javax.management.MBeanAttributeInfo[] getMBeanAttributesInfo()
Method returns MBean's MBeanAttributeInfo Array

Returns:
MBeanAttributeInfo[]

getMBeanOperationsInfo

protected javax.management.MBeanOperationInfo[] getMBeanOperationsInfo()
Method returns MBean's MBeanOperationInfo Array

Returns:
MBeanOperationInfo[]

getMBeanNotificationInfo

protected javax.management.MBeanNotificationInfo[] getMBeanNotificationInfo()
Method returns MBean's MBeanNotificationInfo Array

Returns:
MBeanNotificationInfo[]

getMBeanConstructorInfo

protected javax.management.MBeanConstructorInfo[] getMBeanConstructorInfo()
Method returns MBean's MBeanConstructorInfo Array

Returns:
MBeanConstructorInfo[]

getDescription

protected java.lang.String getDescription()
Method returns MBean's description

Returns:
String

getAttribute

public java.lang.Object getAttribute(java.lang.String attribute_name)
                              throws javax.management.AttributeNotFoundException,
                                     javax.management.MBeanException,
                                     javax.management.ReflectionException
Allows the value of the specified attribute of the Dynamic MBean to be obtained.

Specified by:
getAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException

setAttribute

public void setAttribute(javax.management.Attribute attribute)
                  throws javax.management.AttributeNotFoundException,
                         javax.management.InvalidAttributeValueException,
                         javax.management.MBeanException,
                         javax.management.ReflectionException
Sets the value of the specified attribute of the Dynamic MBean.

Specified by:
setAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException

setAttributes

public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
Sets the values of several attributes of the Dynamic MBean, and returns the list of attributes that have been set.

Specified by:
setAttributes in interface javax.management.DynamicMBean

getAttributes

public javax.management.AttributeList getAttributes(java.lang.String[] attributeNames)
get the values of several attributes of the Dynamic MBean.

Specified by:
getAttributes in interface javax.management.DynamicMBean

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()
This method provides the exposed attributes and operations of the Dynamic MBean. It provides this information using an MBeanInfo object.

Specified by:
getMBeanInfo in interface javax.management.DynamicMBean

invoke

public java.lang.Object invoke(java.lang.String operationName,
                               java.lang.Object[] params,
                               java.lang.String[] signature)
                        throws javax.management.MBeanException,
                               javax.management.ReflectionException
Allows an operation to be invoked on the Dynamic MBean.

Specified by:
invoke in interface javax.management.DynamicMBean
Throws:
javax.management.MBeanException
javax.management.ReflectionException

EAF 7.6 API