org.apache.geronimo.system.jmx
Class MBeanGBeanBridge

java.lang.Object
  extended byorg.apache.geronimo.system.jmx.MBeanGBeanBridge
All Implemented Interfaces:
javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter

public final class MBeanGBeanBridge
extends Object
implements javax.management.MBeanRegistration, javax.management.DynamicMBean, javax.management.NotificationEmitter

Version:
$Rev: 395753 $ $Date: 2006-04-21 03:45:55 +0200 (Fri, 21 Apr 2006) $

Constructor Summary
MBeanGBeanBridge(org.apache.geronimo.kernel.Kernel kernel, org.apache.geronimo.gbean.AbstractName abstractName, javax.management.ObjectName objectName, javax.management.MBeanInfo mbeanInfo)
           
 
Method Summary
 void addNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, Object handback)
           
 Object getAttribute(String attributeName)
           
 javax.management.AttributeList getAttributes(String[] attributes)
           
 javax.management.MBeanInfo getMBeanInfo()
           
 javax.management.MBeanNotificationInfo[] getNotificationInfo()
           
 javax.management.ObjectName getObjectName()
           
 Object invoke(String operationName, Object[] arguments, String[] types)
           
 void postDeregister()
           
 void postRegister(Boolean registrationDone)
           
 void preDeregister()
           
 javax.management.ObjectName preRegister(javax.management.MBeanServer mBeanServer, javax.management.ObjectName objectName)
           
 void removeNotificationListener(javax.management.NotificationListener listener)
           
 void removeNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, Object handback)
           
 void setAttribute(javax.management.Attribute attribute)
           
 javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MBeanGBeanBridge

public MBeanGBeanBridge(org.apache.geronimo.kernel.Kernel kernel,
                        org.apache.geronimo.gbean.AbstractName abstractName,
                        javax.management.ObjectName objectName,
                        javax.management.MBeanInfo mbeanInfo)
Method Detail

getObjectName

public javax.management.ObjectName getObjectName()

preRegister

public javax.management.ObjectName preRegister(javax.management.MBeanServer mBeanServer,
                                               javax.management.ObjectName objectName)
                                        throws Exception
Specified by:
preRegister in interface javax.management.MBeanRegistration
Throws:
Exception

postRegister

public void postRegister(Boolean registrationDone)
Specified by:
postRegister in interface javax.management.MBeanRegistration

preDeregister

public void preDeregister()
Specified by:
preDeregister in interface javax.management.MBeanRegistration

postDeregister

public void postDeregister()
Specified by:
postDeregister in interface javax.management.MBeanRegistration

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()
Specified by:
getMBeanInfo in interface javax.management.DynamicMBean

getAttribute

public Object getAttribute(String attributeName)
                    throws javax.management.ReflectionException,
                           javax.management.AttributeNotFoundException
Specified by:
getAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.ReflectionException
javax.management.AttributeNotFoundException

setAttribute

public void setAttribute(javax.management.Attribute attribute)
                  throws javax.management.ReflectionException,
                         javax.management.AttributeNotFoundException
Specified by:
setAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.ReflectionException
javax.management.AttributeNotFoundException

getAttributes

public javax.management.AttributeList getAttributes(String[] attributes)
Specified by:
getAttributes in interface javax.management.DynamicMBean

setAttributes

public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
Specified by:
setAttributes in interface javax.management.DynamicMBean

invoke

public Object invoke(String operationName,
                     Object[] arguments,
                     String[] types)
              throws javax.management.ReflectionException
Specified by:
invoke in interface javax.management.DynamicMBean
Throws:
javax.management.ReflectionException

getNotificationInfo

public javax.management.MBeanNotificationInfo[] getNotificationInfo()
Specified by:
getNotificationInfo in interface javax.management.NotificationBroadcaster

addNotificationListener

public void addNotificationListener(javax.management.NotificationListener listener,
                                    javax.management.NotificationFilter filter,
                                    Object handback)
Specified by:
addNotificationListener in interface javax.management.NotificationBroadcaster

removeNotificationListener

public void removeNotificationListener(javax.management.NotificationListener listener)
                                throws javax.management.ListenerNotFoundException
Specified by:
removeNotificationListener in interface javax.management.NotificationBroadcaster
Throws:
javax.management.ListenerNotFoundException

removeNotificationListener

public void removeNotificationListener(javax.management.NotificationListener listener,
                                       javax.management.NotificationFilter filter,
                                       Object handback)
                                throws javax.management.ListenerNotFoundException
Specified by:
removeNotificationListener in interface javax.management.NotificationEmitter
Throws:
javax.management.ListenerNotFoundException

toString

public String toString()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.