|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectGridPlugin
ObjectGrid plug-ins implement this interface to be invoked when the plug-in should be initialized and destroyed.
ObjectGrid plug-ins are instantiated, state is injected into the plug-in, it is then initialized and finally destroyed. The destroy method will only be invoked for plug-ins that have successfully been initialized. A plug-in cannot be initialized or destroyed more than once.
General lifecycle:
Plug-ins can optionally register a ObjectGridLifecycleListener to be notified of other ObjectGrid-related events during the initialize method, or can directly implement the ObjectGridLifecycleListener interface which will automatically register the plug-in as a listener.
ObjectGridLifecycleListener| Method Summary | |
|---|---|
ObjectGrid |
getObjectGrid()
Retrieve the ObjectGrid instance associated with this plug-in. |
void |
setObjectGrid(ObjectGrid grid)
The ObjectGrid instance is at an undefined state, depending on the type of plug-in and how it was registered with the map. |
| Methods inherited from interface com.ibm.websphere.objectgrid.plugins.Initializable |
|---|
initialize, isInitialized |
| Methods inherited from interface com.ibm.websphere.objectgrid.plugins.Destroyable |
|---|
destroy, isDestroyed |
| Method Detail |
|---|
void setObjectGrid(ObjectGrid grid)
ObjectGrid.getState() method
to determine what state the ObjectGrid is in.
grid - the ObjectGrid associated with this plug-in instance.ObjectGrid getObjectGrid()
During normal operation, this method may be called to confirm
the correct operation of the ObjectGridPlugin.
It must return the ObjectGrid instance previously set using
the setObjectGrid(ObjectGrid) method.
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||