org.exoplatform.management
Interface ManagementContext

All Known Implementing Classes:
ExoModelMBean, ManagementContextImpl

public interface ManagementContext

A context for managed objects that wants to do more.

Version:
$Revision$
Author:
Julien Viet

Method Summary
 void register(Object o)
          Register an object as a managed object.
 void unregister(Object o)
          Unregisters an object from its managed life cycle.
 

Method Detail

register

void register(Object o)
              throws IllegalArgumentException,
                     NullPointerException
Register an object as a managed object.

Parameters:
o - the object to be managed
Throws:
IllegalArgumentException - if the object is not manageable
NullPointerException - if the object is null

unregister

void unregister(Object o)
                throws IllegalArgumentException,
                       NullPointerException
Unregisters an object from its managed life cycle.

Parameters:
o - the object to be unmanaged
Throws:
IllegalArgumentException - if the object is not manageable
NullPointerException - if the object is null


Copyright © 2009 eXo Platform SAS. All Rights Reserved.