public interface ContextPersistenceMediator
修飾子とタイプ | メソッドと説明 |
---|---|
Map<Class<?>,Context> |
load(String identifier)
永続化先から直列化された情報を取得し、復元を行い返却します。
|
void |
remove(String identifier)
格納した値を破棄します。
|
String |
store(Class<? extends SerializedContextStorage> storage,
Map<Class<?>,Context> data)
値を直列化し、指定された永続化先に格納します。
|
String |
store(Map<Class<?>,Context> data)
値を直列化し、永続化先に格納します。
|
Map<Class<?>,Context> load(String identifier) throws ContextPersistenceMediatorException
identifier
- 識別キーContextPersistenceMediatorException
- 永続化情報の取得に失敗した場合に発生します。void remove(String identifier) throws ContextPersistenceMediatorException
identifier
- 識別キーContextPersistenceMediatorException
- 永続化情報の削除に失敗した場合に発生します。String store(Class<? extends SerializedContextStorage> storage, Map<Class<?>,Context> data) throws ContextPersistenceMediatorException
storage
- 永続化先クラスdata
- アクセスコンテキストマップContextPersistenceMediatorException
- 永続化情報の格納に失敗した場合に発生します。String store(Map<Class<?>,Context> data) throws ContextPersistenceMediatorException
data
- アクセスコンテキストマップContextPersistenceMediatorException
- 永続化情報の格納に失敗した場合に発生します。Copyright © 2012 NTT DATA INTRAMART CORPORATION