eXo Kernel :: Container 2.4.4-CLD

org.exoplatform.management.jmx.impl
Class JMXManagementProvider

java.lang.Object
  extended by org.exoplatform.management.jmx.impl.JMXManagementProvider
All Implemented Interfaces:
ManagementProvider

public class JMXManagementProvider
extends Object
implements ManagementProvider

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
JMXManagementProvider()
           
JMXManagementProvider(MBeanServer server)
           
 
Method Summary
 Object manage(ManagedResource context)
          Instruct the management provider to manage the provided managed resource.
 void unmanage(Object key)
          Instruct the management provider to remove the specifed resource from management.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXManagementProvider

public JMXManagementProvider()

JMXManagementProvider

public JMXManagementProvider(MBeanServer server)
Method Detail

manage

public Object manage(ManagedResource context)
Description copied from interface: ManagementProvider
Instruct the management provider to manage the provided managed resource. If any registration is done the provider should return an unique key that will be used later for unregistration purpose in the ManagementProvider.unmanage(Object) method. If no registration is performed then null should be returned.

Specified by:
manage in interface ManagementProvider
Parameters:
context - the managed resource
Returns:
the key under which the resource is registered

unmanage

public void unmanage(Object key)
Description copied from interface: ManagementProvider
Instruct the management provider to remove the specifed resource from management.

Specified by:
unmanage in interface ManagementProvider
Parameters:
key - the key under which the resource is registered

eXo Kernel :: Container 2.4.4-CLD

Copyright © 2013 eXo Platform SAS. All Rights Reserved.