|
eXo Kernel :: Container 2.4.4-CLD | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ManagedResource
The managed resource provided by the kernel to a management provider. It gives access to the resource itself, the meta data of the managed resource, the attached scoped data and the before/after invoke contract when a resource is invoked from the management layer.
| Method Summary | ||
|---|---|---|
void |
afterInvoke(Object managedResource)
After a managed resource is invoked by the management layer. |
|
void |
beforeInvoke(Object managedResource)
Before a managed resource is invoked by the management layer. |
|
ManagedTypeMetaData |
getMetaData()
Returns the resource meta data. |
|
Object |
getResource()
The resource implementation. |
|
|
getScopingData(Class<S> scopeType)
Returns the scoping data of the context. |
|
|
setScopingData(Class<S> scopeType,
S scopingData)
Callback made by the provider to the resource to signal that scoping data that is used for the managed resource. |
|
| Methods inherited from interface org.exoplatform.management.ManagementContext |
|---|
register, unregister |
| Method Detail |
|---|
Object getResource()
ManagedTypeMetaData getMetaData()
<S> List<S> getScopingData(Class<S> scopeType)
setScopingData(Class, Object)
method plus the scoping properties of the parent context.
S - the generic type of the scope typescopeType - the scope type
<S> void setScopingData(Class<S> scopeType,
S scopingData)
S - the generic type of the scope typescopeType - the scope typescopingData - the scoping datavoid beforeInvoke(Object managedResource)
managedResource - the managed resourcevoid afterInvoke(Object managedResource)
managedResource - the managed resource
|
eXo Kernel :: Container 2.4.4-CLD | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||