|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.handlers.jmx.JmxConfigFieldMap
public class JmxConfigFieldMap
JmxConfigFieldMap : use to store the informations needed to build the Dynamic MBean.
Constructor Summary | |
---|---|
JmxConfigFieldMap()
Constructor. |
Method Summary | |
---|---|
void |
addMethodFromName(String name,
MethodField methodField)
Adds a new method descriptor from its name. |
void |
addMethodFromName(String name,
MethodField[] methodsField)
Adds new methods descriptors from one name. |
void |
addNotificationFromName(String name,
NotificationField notificationField)
Adds a notification. |
void |
addPropertyFromName(String name,
PropertyField propertyField)
Adds a new attribute exposed in the Mbean. |
String |
getDecription()
Gets the description of the MBean. |
MethodField[] |
getMethodFromName(String name)
Returns the method(s) with the given name. |
MethodField |
getMethodFromName(String operationName,
String[] signature)
Gets the method with the good signature. |
Collection<MethodField[]> |
getMethods()
Returns all methods store. |
NotificationField |
getNotificationFromName(String name)
Returns the notification with the given name. |
Collection<NotificationField> |
getNotifications()
Gets all notifications defined. |
Collection<PropertyField> |
getProperties()
Gets all of the properties exposed. |
PropertyField |
getPropertyFromField(String field)
Gets the property by the field. |
PropertyField |
getPropertyFromName(String name)
Gets the property by the name. |
void |
overrideMethodFromName(String name,
MethodField methodField)
Adds a method from name and erases the older if exists. |
void |
overrideMethodFromName(String name,
MethodField[] methodsField)
Add methods from name and erases the olders if exists. |
void |
setDescription(String description)
Sets the description of the MBean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JmxConfigFieldMap()
Method Detail |
---|
public String getDecription()
public void setDescription(String description)
description
- a String which describes the Mbeanpublic void addPropertyFromName(String name, PropertyField propertyField)
name
- the name of the new propertypropertyField
- the field which describes the propertypublic Collection<PropertyField> getProperties()
public PropertyField getPropertyFromName(String name)
name
- the name of the required property
public PropertyField getPropertyFromField(String field)
field
- the required field
public void addMethodFromName(String name, MethodField methodField)
name
- the name of the methodmethodField
- the description of the methodpublic void addMethodFromName(String name, MethodField[] methodsField)
name
- the name of the methodmethodsField
- the description of the methodspublic void overrideMethodFromName(String name, MethodField methodField)
name
- the name of the methodmethodField
- the method to be addedpublic void overrideMethodFromName(String name, MethodField[] methodsField)
name
- the name of the methodmethodsField
- the array of methods to be addedpublic MethodField[] getMethodFromName(String name)
name
- the name of the methods
public MethodField getMethodFromName(String operationName, String[] signature)
operationName
- the name of the method requieredsignature
- the required signature
public Collection<MethodField[]> getMethods()
public void addNotificationFromName(String name, NotificationField notificationField)
name
- the name of the notificationnotificationField
- the field involved with the notification.public NotificationField getNotificationFromName(String name)
name
- the name of the notification to return
null
otherwisepublic Collection<NotificationField> getNotifications()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |