Package org.smooks.management
Class ModelMBeanAssembler
- java.lang.Object
-
- org.smooks.management.ModelMBeanAssembler
-
public class ModelMBeanAssembler extends Object
A Smooks-specificMBeanInfoassembler that reads the details from theManagedResource,ManagedAttribute,ManagedOperation,ManagedNotification, andManagedNotificationsannotations.
-
-
Constructor Summary
Constructors Constructor Description ModelMBeanAssembler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleancheckMethod(Method[] methods, String methodName)org.smooks.management.ModelMBeanAssembler.ManagedAttributeInfogetAttributeInfo(Method[] methods, String attributName, String attributType, ManagedAttribute managedAttribute)StringgetAttributeName(String methodName)static StringgetAttributeType(Method[] methods, String attributeName)ManagedAttributegetManagedAttribute(Method method)ManagedNotification[]getManagedNotifications(Class<?> clazz)ManagedOperationgetManagedOperation(Method method)ManagedResourcegetManagedResource(Class<?> clazz)ModelMBeanInfogetModelMbeanInfo(Class<?> clazz)
-
-
-
Method Detail
-
getManagedResource
public ManagedResource getManagedResource(Class<?> clazz)
-
getManagedAttribute
public ManagedAttribute getManagedAttribute(Method method)
-
getManagedOperation
public ManagedOperation getManagedOperation(Method method)
-
getManagedNotifications
public ManagedNotification[] getManagedNotifications(Class<?> clazz)
-
getAttributeInfo
public org.smooks.management.ModelMBeanAssembler.ManagedAttributeInfo getAttributeInfo(Method[] methods, String attributName, String attributType, ManagedAttribute managedAttribute)
-
getModelMbeanInfo
public ModelMBeanInfo getModelMbeanInfo(Class<?> clazz)
-
-