org.exoplatform.management.jmx.impl
Class JMXManagementProvider
java.lang.Object
org.exoplatform.management.jmx.impl.JMXManagementProvider
- All Implemented Interfaces:
- ManagementProvider
public class JMXManagementProvider
- extends Object
- implements ManagementProvider
- Version:
- $Revision$
- Author:
- Julien Viet
|
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 |
JMXManagementProvider
public JMXManagementProvider()
JMXManagementProvider
public JMXManagementProvider(MBeanServer server)
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
Copyright © 2015 eXo Platform SAS. All Rights Reserved.