eXo Kernel :: Container 2.4.4-CLD

org.exoplatform.management.spi
Interface ManagementProvider

All Known Implementing Classes:
JMXManagementProvider

public interface ManagementProvider

This interface is implemented by a management provider such a JMX.

Version:
$Revision$
Author:
Julien Viet

Method Summary
 Object manage(ManagedResource managedResource)
          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.
 

Method Detail

manage

Object manage(ManagedResource managedResource)
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 unmanage(Object) method. If no registration is performed then null should be returned.

Parameters:
managedResource - the managed resource
Returns:
the key under which the resource is registered

unmanage

void unmanage(Object key)
Instruct the management provider to remove the specifed resource from management.

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.