| java.lang.Object com.sun.jump.module.contentstore.JUMPContentStore
All known Subclasses: com.sun.jumpimpl.module.installer.XLETInstallerImpl, com.sun.jumpimpl.module.preferences.PreferencesStore, com.sun.midp.jump.push.executive.PushContentStore, com.sun.jump.module.contentstore.InMemoryContentStore,
JUMPContentStore | abstract public class JUMPContentStore implements JUMPModule(Code) | | JUMPContentStore provides a base class for all content stores
in the JUMP system. Concrete content stores extend this class and provides
an instance of the JUMPStore to be used for this
content store.
This also implements the JUMPModule to indicate that all
the subclasses of this class is a JUMP module.
|
Method Summary | |
protected void | closeStore(JUMPStoreHandle storeHandle) Called to indicate that the content store does not access the store
anymore. | abstract protected JUMPStore | getStore() Returns a JUMPStore instance to be used by the
content store. | protected JUMPStoreHandle | openStore(boolean accessExclusive) Open the store for read-only or exclusive access. |
JUMPContentStore | protected JUMPContentStore()(Code) | | Creates a new instance of JUMPContentStore
|
closeStore | protected void closeStore(JUMPStoreHandle storeHandle)(Code) | | Called to indicate that the content store does not access the store
anymore.
|
getStore | abstract protected JUMPStore getStore()(Code) | | Returns a JUMPStore instance to be used by the
content store. Typically this method is called from the
JUMPContentStore.openStore(boolean) when creating the StoreHandle.
The subclass of JUMPContentStore can choose to either work with a single
instance of JUMPStore, which this getStore() returns,
or use multiple instances.
|
openStore | protected JUMPStoreHandle openStore(boolean accessExclusive)(Code) | | Open the store for read-only or exclusive access. In exclsuive
access mutable operations can be performed on the store, whereas
in read-only mode, only immutable operations can be performed. This
method ensures that there can only be a single component that can
be in exclusuive mode. The caller blocks till the store is accessible
with the requested access.
|
|
|