public class ManageableComponentMetadata extends ComponentMetadata
ComponentMetadata
, this version also includes JMX related metadata, as expressed
by MBean
, ManagedAttribute
and ManagedOperation
annotations.ComponentMetadata.InjectMetadata, ComponentMetadata.PrioritizedMethodMetadata
EMPTY_INJECT_METHODS, EMPTY_PRIORITIZED_METHODS
Constructor and Description |
---|
ManageableComponentMetadata(Class<?> component,
List<Method> injectMethods,
List<Method> startMethods,
List<Method> stopMethods,
boolean global,
boolean survivesRestarts,
List<Field> managedAttributeFields,
List<Method> managedAttributeMethods,
List<Method> managedOperationMethods,
MBean mbean) |
Modifier and Type | Method and Description |
---|---|
Set<JmxAttributeMetadata> |
getAttributeMetadata() |
String |
getDescription() |
String |
getJmxObjectName() |
Set<JmxOperationMetadata> |
getOperationMetadata() |
boolean |
isManageable() |
ManageableComponentMetadata |
toManageableComponentMetadata() |
String |
toString() |
getClazz, getDependencies, getInjectMethods, getName, getStartMethods, getStopMethods, isGlobalScope, isSurvivesRestarts
public ManageableComponentMetadata(Class<?> component, List<Method> injectMethods, List<Method> startMethods, List<Method> stopMethods, boolean global, boolean survivesRestarts, List<Field> managedAttributeFields, List<Method> managedAttributeMethods, List<Method> managedOperationMethods, MBean mbean)
public String getJmxObjectName()
public String getDescription()
public Set<JmxAttributeMetadata> getAttributeMetadata()
public Set<JmxOperationMetadata> getOperationMetadata()
public boolean isManageable()
isManageable
in class ComponentMetadata
public ManageableComponentMetadata toManageableComponentMetadata()
toManageableComponentMetadata
in class ComponentMetadata
public String toString()
toString
in class ComponentMetadata
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.