public interface ManagedResource extends ManagementContext
| Modifier and Type | Method and Description |
|---|---|
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.
|
<S> List<S> |
getScopingData(Class<S> scopeType)
Returns the scoping data of the context.
|
<S> void |
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.
|
register, unregisterObject 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 resourceCopyright © 2016 eXo Platform SAS. All Rights Reserved.