Package org.smooks.management
Class ModelMBeanInfoHelper
- java.lang.Object
-
- org.smooks.management.ModelMBeanInfoHelper
-
public class ModelMBeanInfoHelper extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,ModelMBeanAttributeInfo>
attributes
protected Map<Constructor<?>,ModelMBeanConstructorInfo>
constructors
protected Map<String,ModelMBeanNotificationInfo>
notifications
protected Map<String,ModelMBeanOperationInfo>
operations
-
Constructor Summary
Constructors Constructor Description ModelMBeanInfoHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(String attributeName, boolean is, boolean read, boolean write)
Descriptor
buildAttributeOperationDescriptor(String operationName)
ModelMBeanInfo
buildModelMBeanInfo(String description)
Descriptor
buildOperationDescriptor(ManagedOperation managedOperation, String operationName)
boolean
checkAttribute(String attributeName)
void
clear()
-
-
-
Field Detail
-
attributes
protected Map<String,ModelMBeanAttributeInfo> attributes
-
constructors
protected Map<Constructor<?>,ModelMBeanConstructorInfo> constructors
-
operations
protected Map<String,ModelMBeanOperationInfo> operations
-
notifications
protected Map<String,ModelMBeanNotificationInfo> notifications
-
-
Method Detail
-
clear
public void clear()
-
addModelMBeanMethod
public void addModelMBeanMethod(String name, String[] paramTypes, String[] paramNames, String[] paramDescs, String description, String rtype, Descriptor desc)
-
checkAttribute
public boolean checkAttribute(String attributeName)
-
addModelMBeanAttribute
public void addModelMBeanAttribute(String fname, String ftype, boolean read, boolean write, boolean is, String description, Descriptor desc)
-
addModelMBeanNotification
public void addModelMBeanNotification(String[] type, String className, String description, Descriptor desc)
-
addModelMBeanConstructor
public void addModelMBeanConstructor(Constructor<?> c, String description, Descriptor desc)
-
buildModelMBeanInfo
public ModelMBeanInfo buildModelMBeanInfo(String description)
-
buildAttributeDescriptor
public Descriptor buildAttributeDescriptor(String attributeName, boolean is, boolean read, boolean write)
-
buildOperationDescriptor
public Descriptor buildOperationDescriptor(ManagedOperation managedOperation, String operationName)
-
buildAttributeOperationDescriptor
public Descriptor buildAttributeOperationDescriptor(String operationName)
-
-