|
eXo Kernel :: Container 2.4.11-UXP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.container.management.ManagementContextImpl
public class ManagementContextImpl
| Constructor Summary | |
|---|---|
ManagementContextImpl(ManageableContainer container)
|
|
ManagementContextImpl(ManagementContextImpl parent,
ManageableContainer container)
|
|
ManagementContextImpl(ManagementContextImpl parent,
Object resource,
ManagedTypeMetaData typeMD)
|
|
| 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. |
|
ExoContainer |
findContainer()
|
|
ManagedTypeMetaData |
getMetaData()
Returns the resource meta data. |
|
ManagementContext |
getParent()
|
|
Object |
getResource()
The resource implementation. |
|
|
getScopingData(Class<S> scopeType)
Returns the scoping data of the context. |
|
void |
register(Object o)
Register an object as a managed object. |
|
|
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. |
|
String |
toString()
|
|
void |
unregister(Object o)
Unregisters an object from its managed life cycle. |
|
void |
unregisterAll()
Unmanages (unregisters) all early registered MBeans in ManagementProviders |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ManagementContextImpl(ManageableContainer container)
public ManagementContextImpl(ManagementContextImpl parent,
ManageableContainer container)
public ManagementContextImpl(ManagementContextImpl parent,
Object resource,
ManagedTypeMetaData typeMD)
| Method Detail |
|---|
public ManagementContext getParent()
public <S> void setScopingData(Class<S> scopeType,
S scopingData)
ManagedResource
setScopingData in interface ManagedResourceS - the generic type of the scope typescopeType - the scope typescopingData - the scoping datapublic void register(Object o)
ManagementContext
register in interface ManagementContexto - the object to be managedpublic void unregister(Object o)
unregister in interface ManagementContexto - the object to be unmanagedpublic void unregisterAll()
public <S> List<S> getScopingData(Class<S> scopeType)
ManagedResourceManagedResource.setScopingData(Class, Object)
method plus the scoping properties of the parent context.
getScopingData in interface ManagedResourceS - the generic type of the scope typescopeType - the scope type
public ExoContainer findContainer()
public void beforeInvoke(Object managedResource)
ManagedResource
beforeInvoke in interface ManagedResourcemanagedResource - the managed resourcepublic void afterInvoke(Object managedResource)
ManagedResource
afterInvoke in interface ManagedResourcemanagedResource - the managed resourcepublic String toString()
toString in class Objectpublic Object getResource()
ManagedResource
getResource in interface ManagedResourcepublic ManagedTypeMetaData getMetaData()
ManagedResource
getMetaData in interface ManagedResource
|
eXo Kernel :: Container 2.4.11-UXP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||