|
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 BackingMapPlugin
BackingMap plug-ins implement this interface to be invoked when the plug-in should be initialized and destroyed.
BackingMap 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 BackingMapLifecycleListener to be notified of other map-related events during the initialize method, or can directly implement the BackingMapLifecycleListener interface which will automatically register the plug-in as a listener.
BackingMapLifecycleListener
Method Summary | |
---|---|
BackingMap |
getBackingMap()
Retrieve the BackingMap instance associated with this plug-in. |
void |
setBackingMap(BackingMap map)
The BackingMap 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 setBackingMap(BackingMap map)
BackingMap.getState()
method
to determine what state the map is in.
map
- the BackingMap associated with this plug-in instance.BackingMap getBackingMap()
During normal operation, this method may be called to confirm the correct
operation of the BackingMapPlugin.
It must return the BackingMap instance previously set using
the setBackingMap(BackingMap)
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 |