org.apache.geronimo.system.jmx
Class MBeanGBeanBridge
java.lang.Object
org.apache.geronimo.system.jmx.MBeanGBeanBridge
- All Implemented Interfaces:
- DynamicMBean, MBeanRegistration, NotificationBroadcaster, NotificationEmitter
public final class MBeanGBeanBridge
- extends Object
- implements MBeanRegistration, DynamicMBean, NotificationEmitter
MBeanGBeanBridge
public MBeanGBeanBridge(Kernel kernel,
AbstractName abstractName,
ObjectName objectName,
MBeanInfo mbeanInfo)
getObjectName
public ObjectName getObjectName()
preRegister
public ObjectName preRegister(MBeanServer mBeanServer,
ObjectName objectName)
throws Exception
- Specified by:
preRegister
in interface MBeanRegistration
- Throws:
Exception
postRegister
public void postRegister(Boolean registrationDone)
- Specified by:
postRegister
in interface MBeanRegistration
preDeregister
public void preDeregister()
- Specified by:
preDeregister
in interface MBeanRegistration
postDeregister
public void postDeregister()
- Specified by:
postDeregister
in interface MBeanRegistration
getMBeanInfo
public MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfo
in interface DynamicMBean
getAttribute
public Object getAttribute(String attributeName)
throws ReflectionException,
AttributeNotFoundException
- Specified by:
getAttribute
in interface DynamicMBean
- Throws:
ReflectionException
AttributeNotFoundException
setAttribute
public void setAttribute(Attribute attribute)
throws ReflectionException,
AttributeNotFoundException
- Specified by:
setAttribute
in interface DynamicMBean
- Throws:
ReflectionException
AttributeNotFoundException
getAttributes
public AttributeList getAttributes(String[] attributes)
- Specified by:
getAttributes
in interface DynamicMBean
setAttributes
public AttributeList setAttributes(AttributeList attributes)
- Specified by:
setAttributes
in interface DynamicMBean
invoke
public Object invoke(String operationName,
Object[] arguments,
String[] types)
throws ReflectionException
- Specified by:
invoke
in interface DynamicMBean
- Throws:
ReflectionException
getNotificationInfo
public MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfo
in interface NotificationBroadcaster
addNotificationListener
public void addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
- Specified by:
addNotificationListener
in interface NotificationBroadcaster
removeNotificationListener
public void removeNotificationListener(NotificationListener listener)
throws ListenerNotFoundException
- Specified by:
removeNotificationListener
in interface NotificationBroadcaster
- Throws:
ListenerNotFoundException
removeNotificationListener
public void removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
throws ListenerNotFoundException
- Specified by:
removeNotificationListener
in interface NotificationEmitter
- Throws:
ListenerNotFoundException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.