org.glassfish.gmbal.impl
Class MBeanSkeleton

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

public class MBeanSkeleton
extends Object


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.
 Object getAttribute(FacetAccessor fa, String name)
           
 AttributeList getAttributes(FacetAccessor fa, String[] attributes)
           
 ModelMBeanInfoSupport getMBeanInfo()
           
 AMXMetadata getMBeanType()
           
 String getNameValue(FacetAccessor fa)
           
 String getType()
           
 Object invoke(FacetAccessor fa, String actionName, Object[] params, String[] sig)
           
 ManagedObjectManagerInternal mom()
           
 void setAttribute(NotificationBroadcasterSupport emitter, FacetAccessor fa, Attribute attribute)
           
 AttributeList setAttributes(NotificationBroadcasterSupport emitter, FacetAccessor fa, AttributeList attributes)
           
 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 String toString()
Overrides:
toString in class Object

getType

public String getType()

getMBeanType

public AMXMetadata getMBeanType()

getAttribute

public Object getAttribute(FacetAccessor fa,
                           String name)
                    throws AttributeNotFoundException,
                           MBeanException,
                           ReflectionException
Throws:
AttributeNotFoundException
MBeanException
ReflectionException

setAttribute

public void setAttribute(NotificationBroadcasterSupport emitter,
                         FacetAccessor fa,
                         Attribute attribute)
                  throws AttributeNotFoundException,
                         InvalidAttributeValueException,
                         MBeanException,
                         ReflectionException
Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException

getAttributes

public AttributeList getAttributes(FacetAccessor fa,
                                   String[] attributes)

setAttributes

public AttributeList setAttributes(NotificationBroadcasterSupport emitter,
                                   FacetAccessor fa,
                                   AttributeList attributes)

invoke

public Object invoke(FacetAccessor fa,
                     String actionName,
                     Object[] params,
                     String[] sig)
              throws MBeanException,
                     ReflectionException
Throws:
MBeanException
ReflectionException

getNameValue

public String getNameValue(FacetAccessor fa)
                    throws MBeanException,
                           ReflectionException
Throws:
MBeanException
ReflectionException

getMBeanInfo

public ModelMBeanInfoSupport getMBeanInfo()

mom

public ManagedObjectManagerInternal mom()


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.