Package org.exoplatform.management
Interface ManagementContext
- All Known Subinterfaces:
ManagedResource
- All Known Implementing Classes:
ManagementContextImpl
public interface ManagementContext
A context for managed objects that wants to do more.
- Version:
- $Revision$
- Author:
- Julien Viet
-
Method Summary
Modifier and TypeMethodDescriptionvoidRegister an object as a managed object.voidunregister(Object o) Unregisters an object from its managed life cycle.
-
Method Details
-
register
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
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
-