org.glassfish.gmbal.impl
Class MBeanSkeleton

java.lang.Object
  extended by org.glassfish.gmbal.impl.MBeanSkeleton


Nested Class Summary
static interface MBeanSkeleton.Operation
           
 
Constructor Summary
MBeanSkeleton(EvaluatedClassDeclaration annotatedClass, EvaluatedClassAnalyzer ca, ManagedObjectManagerInternal mom)
           
 
Method Summary
 MBeanSkeleton compose(MBeanSkeleton skel)
          Create a new MBeanSkeleton that is the composition of this one and skel.
 java.lang.Object getAttribute(FacetAccessor fa, java.lang.String name)
           
 javax.management.AttributeList getAttributes(FacetAccessor fa, java.lang.String[] attributes)
           
 javax.management.modelmbean.ModelMBeanInfoSupport getMBeanInfo()
           
 AMXMetadata getMBeanType()
           
 java.lang.String getNameValue(FacetAccessor fa)
           
 java.lang.String getType()
           
 java.lang.Object invoke(FacetAccessor fa, java.lang.String actionName, java.lang.Object[] params, java.lang.String[] sig)
           
 ManagedObjectManagerInternal mom()
           
 void setAttribute(javax.management.NotificationBroadcasterSupport emitter, FacetAccessor fa, javax.management.Attribute attribute)
           
 javax.management.AttributeList setAttributes(javax.management.NotificationBroadcasterSupport emitter, FacetAccessor fa, javax.management.AttributeList attributes)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MBeanSkeleton

public MBeanSkeleton(EvaluatedClassDeclaration annotatedClass,
                     EvaluatedClassAnalyzer ca,
                     ManagedObjectManagerInternal mom)
Method Detail

compose

public MBeanSkeleton compose(MBeanSkeleton skel)
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.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getType

public java.lang.String getType()

getMBeanType

public AMXMetadata getMBeanType()

getAttribute

Throws:
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException

setAttribute

Throws:
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException

getAttributes


setAttributes


invoke

Throws:
javax.management.MBeanException
javax.management.ReflectionException

getNameValue

Throws:
javax.management.MBeanException
javax.management.ReflectionException

getMBeanInfo

public javax.management.modelmbean.ModelMBeanInfoSupport getMBeanInfo()

mom

public ManagedObjectManagerInternal mom()