Package org.glassfish.gmbal.impl
Class MBeanImpl
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.glassfish.gmbal.impl.MBeanImpl
- All Implemented Interfaces:
DynamicMBean,NotificationBroadcaster,NotificationEmitter,GmbalMBean,org.glassfish.pfl.basic.facet.FacetAccessor
public class MBeanImpl
extends NotificationBroadcasterSupport
implements org.glassfish.pfl.basic.facet.FacetAccessor, GmbalMBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid<T> voidaddFacet(T obj) children()boolean<T> Tfacets()getAttribute(String attribute) getAttributes(String[] attributes) getParentPathPart(String rootParentPrefix) inthashCode()name()voidvoidobjectName(ObjectName oname) parent()voidvoidregister()voidremoveChild(MBeanImpl child) voidremoveFacet(Class<?> cls) voidvoidsetAttribute(Attribute attribute) setAttributes(AttributeList attributes) skeleton()booleanvoidsuspended(boolean flag) target()toString()type()voidMethods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotificationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, removeNotificationListenerMethods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
-
Constructor Details
-
MBeanImpl
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
skeleton
-
type
-
target
-
name
-
name
-
objectName
-
objectName
-
parent
-
parent
-
children
-
addChild
-
removeChild
-
getParentPathPart
-
suspended
public boolean suspended() -
suspended
public void suspended(boolean flag) -
register
public void register() throws InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException -
unregister
-
getAttribute
public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException - Specified by:
getAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionMBeanExceptionReflectionException
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException - Specified by:
setAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionException
-
getAttributes
- Specified by:
getAttributesin interfaceDynamicMBean
-
setAttributes
- Specified by:
setAttributesin interfaceDynamicMBean
-
invoke
public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException - Specified by:
invokein interfaceDynamicMBean- Throws:
MBeanExceptionReflectionException
-
getNotificationInfo
- Specified by:
getNotificationInfoin interfaceNotificationBroadcaster- Overrides:
getNotificationInfoin classNotificationBroadcasterSupport
-
getMBeanInfo
- Specified by:
getMBeanInfoin interfaceDynamicMBean
-
facet
- Specified by:
facetin interfaceorg.glassfish.pfl.basic.facet.FacetAccessor
-
addFacet
public <T> void addFacet(T obj) - Specified by:
addFacetin interfaceorg.glassfish.pfl.basic.facet.FacetAccessor
-
removeFacet
- Specified by:
removeFacetin interfaceorg.glassfish.pfl.basic.facet.FacetAccessor
-
invoke
- Specified by:
invokein interfaceorg.glassfish.pfl.basic.facet.FacetAccessor
-
facets
- Specified by:
facetsin interfaceorg.glassfish.pfl.basic.facet.FacetAccessor
-
get
- Specified by:
getin interfaceorg.glassfish.pfl.basic.facet.FacetAccessor
-
set
- Specified by:
setin interfaceorg.glassfish.pfl.basic.facet.FacetAccessor
-