EAF 7.4 API

org.enhydra.util
Class EafConfigMBean

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.enhydra.util.AbsConfigMBean
          extended by org.enhydra.util.EafConfigMBean
All Implemented Interfaces:
javax.management.DynamicMBean, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter

public class EafConfigMBean
extends AbsConfigMBean

EAF's Core MBean Implementation

Author:
Slobodan Vujasinovic, Tanja Jovanovic

Field Summary
protected  Application application
           
 
Fields inherited from class org.enhydra.util.AbsConfigMBean
addedAttributes, config, dClassName, dMBeanInfo, DOT, hashAttrib, initHashAttrib, logChannel, noteTypesAdd, noteTypesChange, noteTypesRemove, noteTypesReset, noteTypesSave, objectName, prefix, sequence
 
Constructor Summary
EafConfigMBean(Application application, javax.management.ObjectName objectName, java.lang.String prefix, java.lang.String[] includes, java.lang.String[] excludes)
           
 
Method Summary
 java.lang.String getAppInfo()
           
protected  javax.management.MBeanConstructorInfo[] getMBeanConstructorInfo()
          Method returns MBean's MBeanConstructorInfo Array
protected  javax.management.MBeanOperationInfo[] getMBeanOperationsInfo()
          Method returns MBean's MBeanOperationInfo Array
 void init(Application app, javax.management.ObjectName objectName, java.lang.String prefix, java.lang.String[] includes, java.lang.String[] excludes)
           
 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.
 
Methods inherited from class org.enhydra.util.AbsConfigMBean
addAttribute, buildDynamicMBeanInfo, getAttribute, getAttributes, getDescription, getMBeanAttributesInfo, getMBeanInfo, getMBeanNotificationInfo, initConfig, removeAttribute, reset, saveAttributes, setAttribute, setAttributes, toOriginal, toValidIdentifier
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

application

protected Application application
Constructor Detail

EafConfigMBean

public EafConfigMBean(Application application,
                      javax.management.ObjectName objectName,
                      java.lang.String prefix,
                      java.lang.String[] includes,
                      java.lang.String[] excludes)
Method Detail

init

public void init(Application app,
                 javax.management.ObjectName objectName,
                 java.lang.String prefix,
                 java.lang.String[] includes,
                 java.lang.String[] excludes)

getMBeanOperationsInfo

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

Specified by:
getMBeanOperationsInfo in class AbsConfigMBean
Returns:
MBeanOperationInfo[]

getMBeanConstructorInfo

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

Specified by:
getMBeanConstructorInfo in class AbsConfigMBean
Returns:
MBeanConstructorInfo[]

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
Specified by:
invoke in class AbsConfigMBean
Throws:
javax.management.MBeanException
javax.management.ReflectionException

getAppInfo

public java.lang.String getAppInfo()

EAF 7.4 API