org.picocontainer.gems.jmx
Class JMXRegistrationInfo

java.lang.Object
  extended by org.picocontainer.gems.jmx.JMXRegistrationInfo

public class JMXRegistrationInfo
extends Object

Helper class to associate a MBean with an ObjectName.

Author:
Jörg Schaible

Constructor Summary
JMXRegistrationInfo(ObjectName objectName, DynamicMBean mBean)
          Construct a JMXRegistrationInfo.
 
Method Summary
 DynamicMBean getMBean()
           
 ObjectName getObjectName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXRegistrationInfo

public JMXRegistrationInfo(ObjectName objectName,
                           DynamicMBean mBean)
Construct a JMXRegistrationInfo.

Parameters:
objectName - The ObjectName used for the registration in the MBeanServer.
mBean - The DynamicMBean to register.
Method Detail

getMBean

public DynamicMBean getMBean()
Returns:
Returns the MBean.

getObjectName

public ObjectName getObjectName()
Returns:
Returns the proposed ObjectName.


Copyright © 2003-2010 Codehaus. All Rights Reserved.