|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStorableContainerAdapter
Container adapter for storable containers. Containers that can be stored via IContainerStore
s
must implement this interface.
Method Summary | |
---|---|
java.lang.String |
getContainerFactoryName()
Get the container factory name for storage and restoration. |
void |
restore(org.eclipse.equinox.security.storage.ISecurePreferences containerStorage)
Restore the contents of the container given the storage instance. |
void |
store(org.eclipse.equinox.security.storage.ISecurePreferences containerStorage)
Store the contents of the implementer in the given storage instance. |
boolean |
storeEncrypted()
|
Methods inherited from interface org.eclipse.ecf.core.identity.IIdentifiable |
---|
getID |
Method Detail |
---|
boolean storeEncrypted()
true
if the implementer of this adapter should be stored as encrypted,
false
if encryption should not be used.java.lang.String getContainerFactoryName()
IContainerEntry.createContainer()
.
null
.void store(org.eclipse.equinox.security.storage.ISecurePreferences containerStorage) throws org.eclipse.equinox.security.storage.StorageException
IContainerStore.store(IStorableContainerAdapter)
and gives the implementer a chance to store any state. The state is then passed to the restore(ISecurePreferences)
method during restore of this container.
containerStorage
- the ISecurePreferences storage to use to store any state associated with this container.
org.eclipse.equinox.security.storage.StorageException
- if the store of this container should fail.void restore(org.eclipse.equinox.security.storage.ISecurePreferences containerStorage) throws org.eclipse.equinox.security.storage.StorageException
IContainerEntry.createContainer()
,
to give the implementer an opportunity to restore any state previously stored via store(ISecurePreferences)
.
containerStorage
- the ISecurePreferences storage whose contents were set via store(ISecurePreferences)
.
org.eclipse.equinox.security.storage.StorageException
- if the restore should fail.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |