|
EAF 7.4 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.enhydra.util.AbsConfigMBean
public abstract class AbsConfigMBean
Core MBean Implementation
Field Summary | |
---|---|
protected java.util.Vector |
addedAttributes
|
protected com.lutris.util.Config |
config
|
protected java.lang.String |
dClassName
|
protected javax.management.MBeanInfo |
dMBeanInfo
|
static java.lang.String |
DOT
|
protected java.util.Hashtable |
hashAttrib
|
protected java.util.Hashtable |
initHashAttrib
|
protected LogChannel |
logChannel
|
protected java.lang.String[] |
noteTypesAdd
|
protected java.lang.String[] |
noteTypesChange
|
protected java.lang.String[] |
noteTypesRemove
|
protected java.lang.String[] |
noteTypesReset
|
protected java.lang.String[] |
noteTypesSave
|
protected javax.management.ObjectName |
objectName
|
protected java.lang.String |
prefix
|
protected long |
sequence
|
Constructor Summary | |
---|---|
AbsConfigMBean()
A constructor with no arguments is required. |
Method Summary | |
---|---|
void |
addAttribute(java.lang.String name,
java.lang.String value)
Add new attribute to config |
void |
buildDynamicMBeanInfo()
|
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 abstract 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 abstract javax.management.MBeanOperationInfo[] |
getMBeanOperationsInfo()
Method returns MBean's MBeanOperationInfo Array |
void |
initConfig(javax.management.ObjectName objectName,
java.lang.String prefix,
java.lang.String[] includes,
java.lang.String[] excludes)
|
abstract 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 |
removeAttribute(java.lang.String name)
|
void |
reset()
Operation: reset attributes to their initial values |
void |
saveAttributes()
Save Config Attributes |
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. |
protected java.lang.String |
toOriginal(java.lang.String value)
|
protected java.lang.String |
toValidIdentifier(java.lang.String value)
|
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 |
---|
protected java.lang.String dClassName
protected javax.management.MBeanInfo dMBeanInfo
protected javax.management.ObjectName objectName
protected java.util.Hashtable hashAttrib
protected java.util.Hashtable initHashAttrib
protected com.lutris.util.Config config
protected java.lang.String prefix
protected java.util.Vector addedAttributes
public static java.lang.String DOT
protected long sequence
protected java.lang.String[] noteTypesChange
protected java.lang.String[] noteTypesSave
protected java.lang.String[] noteTypesReset
protected java.lang.String[] noteTypesAdd
protected java.lang.String[] noteTypesRemove
protected LogChannel logChannel
Constructor Detail |
---|
public AbsConfigMBean()
Method Detail |
---|
protected java.lang.String toValidIdentifier(java.lang.String value)
protected java.lang.String toOriginal(java.lang.String value)
public void initConfig(javax.management.ObjectName objectName, java.lang.String prefix, java.lang.String[] includes, java.lang.String[] excludes)
public void buildDynamicMBeanInfo()
protected javax.management.MBeanAttributeInfo[] getMBeanAttributesInfo()
protected abstract javax.management.MBeanOperationInfo[] getMBeanOperationsInfo()
protected javax.management.MBeanNotificationInfo[] getMBeanNotificationInfo()
protected abstract javax.management.MBeanConstructorInfo[] getMBeanConstructorInfo()
protected java.lang.String getDescription()
public java.lang.Object getAttribute(java.lang.String attribute_name) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
getAttribute
in interface javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
public void setAttribute(javax.management.Attribute attribute) throws javax.management.AttributeNotFoundException, javax.management.InvalidAttributeValueException, javax.management.MBeanException, javax.management.ReflectionException
setAttribute
in interface javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException
public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
setAttributes
in interface javax.management.DynamicMBean
public javax.management.AttributeList getAttributes(java.lang.String[] attributeNames)
getAttributes
in interface javax.management.DynamicMBean
public javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo
in interface javax.management.DynamicMBean
public void saveAttributes()
public void addAttribute(java.lang.String name, java.lang.String value)
public void reset() throws javax.management.AttributeNotFoundException
javax.management.AttributeNotFoundException
public void removeAttribute(java.lang.String name)
public abstract java.lang.Object invoke(java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature) throws javax.management.MBeanException, javax.management.ReflectionException
invoke
in interface javax.management.DynamicMBean
javax.management.MBeanException
javax.management.ReflectionException
|
EAF 7.4 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |