org.jacorb.notification.jmx
Class UnregisterObjectNameProviderDecorator

java.lang.Object
  extended by org.jacorb.notification.jmx.UnregisterObjectNameProviderDecorator
All Implemented Interfaces:
org.nanocontainer.remoting.jmx.DynamicMBeanProvider

public class UnregisterObjectNameProviderDecorator
extends Object
implements org.nanocontainer.remoting.jmx.DynamicMBeanProvider

a DynamicMBeanProvider decorator that will add a disposehook to the instance for which a mbean is created the disposehook will deregister the mbean from the mbeanserver.

Author:
Alphonse Bendt

Constructor Summary
UnregisterObjectNameProviderDecorator(MBeanServer mbeanServer, org.nanocontainer.remoting.jmx.DynamicMBeanProvider delegate)
           
 
Method Summary
 org.nanocontainer.remoting.jmx.JMXRegistrationInfo provide(org.picocontainer.PicoContainer picoContainer, org.picocontainer.ComponentAdapter componentAdapter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnregisterObjectNameProviderDecorator

public UnregisterObjectNameProviderDecorator(MBeanServer mbeanServer,
                                             org.nanocontainer.remoting.jmx.DynamicMBeanProvider delegate)
Method Detail

provide

public org.nanocontainer.remoting.jmx.JMXRegistrationInfo provide(org.picocontainer.PicoContainer picoContainer,
                                                                  org.picocontainer.ComponentAdapter componentAdapter)
Specified by:
provide in interface org.nanocontainer.remoting.jmx.DynamicMBeanProvider


Copyright © 2015 JacORB. All rights reserved.