Package org.exoplatform.management
Interface ManagementContext
-
- All Known Subinterfaces:
ManagedResource
- All Known Implementing Classes:
ManagementContextImpl
public interface ManagementContextA context for managed objects that wants to do more.- Version:
- $Revision$
- Author:
- Julien Viet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidregister(Object o)Register an object as a managed object.voidunregister(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 manageableNullPointerException- 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 manageableNullPointerException- if the object is null
-
-