Package org.glassfish.gmbal.impl
Class MBeanSkeleton
java.lang.Object
org.glassfish.gmbal.impl.MBeanSkeleton
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static enumstatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Permissionprivate static Descriptorprivate Descriptorprivate final Map<String, AttributeDescriptor> private final List<ModelMBeanAttributeInfo> private final List<ModelMBeanOperationInfo> private AMXMetadataprivate final ModelMBeanInfoSupportprivate final ManagedObjectManagerInternalprivate AttributeDescriptorprivate final AtomicLongprivate final Map<String, AttributeDescriptor> private final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateMBeanSkeleton(MBeanSkeleton first, MBeanSkeleton second) MBeanSkeleton(EvaluatedClassDeclaration annotatedClass, EvaluatedClassAnalyzer ca, ManagedObjectManagerInternal mom) -
Method Summary
Modifier and TypeMethodDescriptionprivate <K,L, V> void addToCompoundMap(Map<K, Map<L, V>> source, Map<K, Map<L, V>> dest) private voidprivate voidprivate voidprivate voidannotatedMethod(EvaluatedMethodDeclaration annotatedMethod) private voidprivate voidattributes(org.glassfish.pfl.basic.contain.Pair<Map<String, AttributeDescriptor>, Map<String, AttributeDescriptor>> amap) compose(MBeanSkeleton skel) Create a new MBeanSkeleton that is the composition of this one and skel.private voidprivate voiddescriptorContents(String name, String description, Descriptor desc) getAttribute(org.glassfish.pfl.basic.facet.FacetAccessor fa, String name) getAttributes(org.glassfish.pfl.basic.facet.FacetAccessor fa, String[] attributes) getNameValue(org.glassfish.pfl.basic.facet.FacetAccessor fa) getType()invoke(org.glassfish.pfl.basic.facet.FacetAccessor fa, String actionName, Object[] params, String[] sig) private ModelMBeanInfoSupportmakeMbInfo(String description) private org.glassfish.pfl.basic.contain.Pair<MBeanSkeleton.Operation, ModelMBeanOperationInfo> (package private) DescriptormakeValidDescriptor(Descriptor desc, MBeanSkeleton.DescriptorType dtype, String dname) mom()private voidprivate voidprocessAttribute(AttributeDescriptor getter, AttributeDescriptor setter) voidsetAttribute(NotificationBroadcasterSupport emitter, org.glassfish.pfl.basic.facet.FacetAccessor fa, Attribute attribute) setAttributes(NotificationBroadcasterSupport emitter, org.glassfish.pfl.basic.facet.FacetAccessor fa, AttributeList attributes) private voidsetterNames(String msg, Set<String> names) toString()
-
Field Details
-
DEFAULT_AMX_DESCRIPTOR
-
mbeanType
-
type
-
descriptor
-
sequenceNumber
-
mom
-
setters
-
getters
-
nameAttributeDescriptor
-
operations
-
mbeanAttributeInfoList
-
mbeanOperationInfoList
-
mbInfo
-
accessControlPermission
-
-
Constructor Details
-
MBeanSkeleton
public MBeanSkeleton(EvaluatedClassDeclaration annotatedClass, EvaluatedClassAnalyzer ca, ManagedObjectManagerInternal mom) -
MBeanSkeleton
-
-
Method Details
-
addToCompoundMap
-
makeMbInfo
-
compose
Create a new MBeanSkeleton that is the composition of this one and skel. Note that, if this and skel contain the same attribute, the version from skel will appear in the composition. -
makeValidDescriptor
-
toString
-
descriptorContents
-
attributeInfoContents
-
processAttribute
-
attributes
@InfoMethod private void attributes(org.glassfish.pfl.basic.contain.Pair<Map<String, AttributeDescriptor>, Map<String, AttributeDescriptor>> amap) -
setterNames
-
analyzeAttributes
-
annotatedMethod
-
analyzeObjectNameKeys
-
describe
-
makeOperation
private org.glassfish.pfl.basic.contain.Pair<MBeanSkeleton.Operation,ModelMBeanOperationInfo> makeOperation(EvaluatedMethodDeclaration m) -
analyzeOperations
-
getType
-
getMBeanType
-
getAttribute
public Object getAttribute(org.glassfish.pfl.basic.facet.FacetAccessor fa, String name) throws AttributeNotFoundException, MBeanException, ReflectionException -
setAttribute
public void setAttribute(NotificationBroadcasterSupport emitter, org.glassfish.pfl.basic.facet.FacetAccessor fa, Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException -
getAttributes
public AttributeList getAttributes(org.glassfish.pfl.basic.facet.FacetAccessor fa, String[] attributes) -
setAttributes
public AttributeList setAttributes(NotificationBroadcasterSupport emitter, org.glassfish.pfl.basic.facet.FacetAccessor fa, AttributeList attributes) -
invoke
public Object invoke(org.glassfish.pfl.basic.facet.FacetAccessor fa, String actionName, Object[] params, String[] sig) throws MBeanException, ReflectionException - Throws:
MBeanExceptionReflectionException
-
nameAttributeDescriptorIsNull
@InfoMethod private void nameAttributeDescriptorIsNull() -
getNameValue
public String getNameValue(org.glassfish.pfl.basic.facet.FacetAccessor fa) throws MBeanException, ReflectionException - Throws:
MBeanExceptionReflectionException
-
getMBeanInfo
-
mom
-