Package org.glassfish.gmbal
Class GmbalMBeanNOPImpl
java.lang.Object
org.glassfish.gmbal.GmbalMBeanNOPImpl
- All Implemented Interfaces:
DynamicMBean
,NotificationBroadcaster
,NotificationEmitter
,GmbalMBean
A simple no-op implementation of GmbalMBean for use in the no-op impl of
ManagedObjectManager.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback) getAttribute
(String attribute) getAttributes
(String[] attributes) void
void
removeNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback) void
setAttribute
(Attribute attribute) setAttributes
(AttributeList attributes)
-
Constructor Details
-
GmbalMBeanNOPImpl
public GmbalMBeanNOPImpl()
-
-
Method Details
-
getAttribute
public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException - Specified by:
getAttribute
in interfaceDynamicMBean
- Throws:
AttributeNotFoundException
MBeanException
ReflectionException
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException - Specified by:
setAttribute
in interfaceDynamicMBean
- Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
-
getAttributes
- Specified by:
getAttributes
in interfaceDynamicMBean
-
setAttributes
- Specified by:
setAttributes
in interfaceDynamicMBean
-
invoke
public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException - Specified by:
invoke
in interfaceDynamicMBean
- Throws:
MBeanException
ReflectionException
-
getMBeanInfo
- Specified by:
getMBeanInfo
in interfaceDynamicMBean
-
removeNotificationListener
public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException - Specified by:
removeNotificationListener
in interfaceNotificationEmitter
- Throws:
ListenerNotFoundException
-
addNotificationListener
public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException - Specified by:
addNotificationListener
in interfaceNotificationBroadcaster
- Throws:
IllegalArgumentException
-
removeNotificationListener
public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException - Specified by:
removeNotificationListener
in interfaceNotificationBroadcaster
- Throws:
ListenerNotFoundException
-
getNotificationInfo
- Specified by:
getNotificationInfo
in interfaceNotificationBroadcaster
-