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, sendNotification
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
removeNotificationListener
addNotificationListener, removeNotificationListener
public 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 DynamicMBean
AttributeNotFoundException
MBeanException
ReflectionException
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute
in interface DynamicMBean
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
public AttributeList getAttributes(String[] attributes)
getAttributes
in interface DynamicMBean
public AttributeList setAttributes(AttributeList attributes)
setAttributes
in interface DynamicMBean
public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
invoke
in interface DynamicMBean
MBeanException
ReflectionException
public MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo
in interface NotificationBroadcaster
getNotificationInfo
in class NotificationBroadcasterSupport
public MBeanInfo getMBeanInfo()
getMBeanInfo
in interface DynamicMBean
public <T> T facet(Class<T> cls)
facet
in interface org.glassfish.pfl.basic.facet.FacetAccessor
public <T> void addFacet(T obj)
addFacet
in interface org.glassfish.pfl.basic.facet.FacetAccessor
public void removeFacet(Class<?> cls)
removeFacet
in interface org.glassfish.pfl.basic.facet.FacetAccessor
public Object invoke(Method method, Object... args)
invoke
in interface org.glassfish.pfl.basic.facet.FacetAccessor
public Collection<Object> facets()
facets
in interface org.glassfish.pfl.basic.facet.FacetAccessor
public Object get(Field field)
get
in interface org.glassfish.pfl.basic.facet.FacetAccessor
Copyright © 2017 Oracle. All rights reserved.