Package org.smooks.management
Class ModelMBeanAssembler
- java.lang.Object
-
- org.smooks.management.ModelMBeanAssembler
-
public class ModelMBeanAssembler extends Object
A Smooks-specificMBeanInfo
assembler that reads the details from theManagedResource
,ManagedAttribute
,ManagedOperation
,ManagedNotification
, andManagedNotifications
annotations.
-
-
Constructor Summary
Constructors Constructor Description ModelMBeanAssembler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
checkMethod(Method[] methods, String methodName)
org.smooks.management.ModelMBeanAssembler.ManagedAttributeInfo
getAttributeInfo(Method[] methods, String attributName, String attributType, ManagedAttribute managedAttribute)
String
getAttributeName(String methodName)
static String
getAttributeType(Method[] methods, String attributeName)
ManagedAttribute
getManagedAttribute(Method method)
ManagedNotification[]
getManagedNotifications(Class<?> clazz)
ManagedOperation
getManagedOperation(Method method)
ManagedResource
getManagedResource(Class<?> clazz)
ModelMBeanInfo
getModelMbeanInfo(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)
-
-