public class MBeanImpl extends NotificationBroadcasterSupport implements org.glassfish.pfl.basic.facet.FacetAccessor, GmbalMBean
| Constructor and Description |
|---|
MBeanImpl(MBeanSkeleton skel,
Object obj,
MBeanServer server,
String type) |
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotificationclone, finalize, getClass, notify, notifyAll, wait, wait, waitremoveNotificationListeneraddNotificationListener, removeNotificationListenerpublic MBeanImpl(MBeanSkeleton skel, Object obj, MBeanServer server, String type)
public MBeanSkeleton skeleton()
public String type()
public Object target()
public String name()
public void name(String str)
public ObjectName objectName()
public void objectName(ObjectName oname)
public MBeanImpl parent()
public void parent(MBeanImpl entity)
public void addChild(MBeanImpl child)
public void removeChild(MBeanImpl child)
public boolean suspended()
public void suspended(boolean flag)
public void register()
throws InstanceAlreadyExistsException,
MBeanRegistrationException,
NotCompliantMBeanException
public void unregister()
throws InstanceNotFoundException,
MBeanRegistrationException
public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute in interface DynamicMBeanAttributeNotFoundExceptionMBeanExceptionReflectionExceptionpublic void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute in interface DynamicMBeanAttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionExceptionpublic AttributeList getAttributes(String[] attributes)
getAttributes in interface DynamicMBeanpublic AttributeList setAttributes(AttributeList attributes)
setAttributes in interface DynamicMBeanpublic Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
invoke in interface DynamicMBeanMBeanExceptionReflectionExceptionpublic MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo in interface NotificationBroadcastergetNotificationInfo in class NotificationBroadcasterSupportpublic MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeanpublic <T> T facet(Class<T> cls)
facet in interface org.glassfish.pfl.basic.facet.FacetAccessorpublic <T> void addFacet(T obj)
addFacet in interface org.glassfish.pfl.basic.facet.FacetAccessorpublic void removeFacet(Class<?> cls)
removeFacet in interface org.glassfish.pfl.basic.facet.FacetAccessorpublic Object invoke(Method method, Object... args)
invoke in interface org.glassfish.pfl.basic.facet.FacetAccessorpublic Collection<Object> facets()
facets in interface org.glassfish.pfl.basic.facet.FacetAccessorpublic Object get(Field field)
get in interface org.glassfish.pfl.basic.facet.FacetAccessorCopyright © 2017 Oracle. All rights reserved.