public class ModelMBeanInfoSupporter extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,ModelMBeanAttributeInfo> |
attributes |
protected Map<Constructor<?>,ModelMBeanConstructorInfo> |
constructors |
protected Map<String,ModelMBeanNotificationInfo> |
notifications |
protected Map<String,ModelMBeanOperationInfo> |
operations |
Constructor and Description |
---|
ModelMBeanInfoSupporter() |
Modifier and Type | Method and Description |
---|---|
void |
addModelMBeanAttribute(String fname,
String ftype,
boolean read,
boolean write,
boolean is,
String description,
Descriptor desc) |
void |
addModelMBeanConstructor(Constructor<?> c,
String description,
Descriptor desc) |
void |
addModelMBeanMethod(String name,
String[] paramTypes,
String[] paramNames,
String[] paramDescs,
String description,
String rtype,
Descriptor desc) |
void |
addModelMBeanNotification(String[] type,
String className,
String description,
Descriptor desc) |
Descriptor |
buildAttributeDescriptor(ManagedAttribute ma,
String attributeName,
boolean is,
boolean read,
boolean write) |
Descriptor |
buildAttributeOperationDescriptor(String operationName) |
Descriptor |
buildMBeanDescriptor(ManagedResource mr) |
ModelMBeanInfo |
buildModelMBeanInfo(Descriptor desc) |
Descriptor |
buildOperationDescriptor(ManagedOperation mo,
String operationName) |
boolean |
checkAttribute(String attributeName) |
void |
clear() |
protected Map<String,ModelMBeanAttributeInfo> attributes
protected Map<String,ModelMBeanNotificationInfo> notifications
protected Map<Constructor<?>,ModelMBeanConstructorInfo> constructors
protected Map<String,ModelMBeanOperationInfo> operations
public void clear()
public void addModelMBeanMethod(String name, String[] paramTypes, String[] paramNames, String[] paramDescs, String description, String rtype, Descriptor desc)
public void addModelMBeanNotification(String[] type, String className, String description, Descriptor desc)
public boolean checkAttribute(String attributeName)
public void addModelMBeanAttribute(String fname, String ftype, boolean read, boolean write, boolean is, String description, Descriptor desc)
public void addModelMBeanConstructor(Constructor<?> c, String description, Descriptor desc)
public ModelMBeanInfo buildModelMBeanInfo(Descriptor desc)
public Descriptor buildAttributeDescriptor(ManagedAttribute ma, String attributeName, boolean is, boolean read, boolean write)
public Descriptor buildOperationDescriptor(ManagedOperation mo, String operationName)
public Descriptor buildAttributeOperationDescriptor(String operationName)
public Descriptor buildMBeanDescriptor(ManagedResource mr)
Apache CXF