IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.plugins
Interface Destroyable

All Known Subinterfaces:
BackingMapPlugin, KeySerializerPlugin, MapDataDescriptor, MapSerializerPlugin, ObjectGridPlugin, ValueSerializerPlugin
All Known Implementing Classes:
BasicMapSerializerPlugin, HashIndex, InverseRangeIndex

public interface Destroyable

Java bean plug-ins can implement this interface to allow destroying the plug-in after it's state has been set.

Since:
7.1.1
See Also:
BackingMapPlugin, ObjectGridPlugin

Method Summary
 void destroy()
          Invoked when the bean's state has been set and is ready to be destroyed.
 boolean isDestroyed()
          Answers true if the bean is in the destroyed state, false otherwise.
 

Method Detail

destroy

void destroy()
Invoked when the bean's state has been set and is ready to be destroyed. The result should be that the bean is in the destroyed state.


isDestroyed

boolean isDestroyed()
Answers true if the bean is in the destroyed state, false otherwise.

During normal operation, this method may be called to confirm the correct operation of the destroy() method.

Returns:
true if the bean is in the destroyed state.

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.