Package org.opensaml.storage.impl.client
Class XMLClientStorageServiceStore
java.lang.Object
org.opensaml.storage.impl.client.AbstractClientStorageServiceStore
org.opensaml.storage.impl.client.XMLClientStorageServiceStore
- All Implemented Interfaces:
ClientStorageServiceStore
XML-based storage for
ClientStorageService.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFactory for XML-backed store.Nested classes/interfaces inherited from interface org.opensaml.storage.impl.client.ClientStorageServiceStore
ClientStorageServiceStore.Factory -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.private final ParserPoolParser machinery. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReconstitute stored data.save(ClientStorageService storageService) Serialize current state of stored data into a storage operation.Methods inherited from class org.opensaml.storage.impl.client.AbstractClientStorageServiceStore
getContextMap, getSource, isDirty, load, setDirty
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
parserPool
Parser machinery.
-
-
Constructor Details
-
Method Details
-
doLoad
Reconstitute stored data.- Specified by:
doLoadin classAbstractClientStorageServiceStore- Parameters:
raw- serialized data to load- Throws:
IOException- if an error occurs
-
save
@Nullable public ClientStorageServiceOperation save(@Nonnull ClientStorageService storageService) throws IOException Serialize current state of stored data into a storage operation.- Specified by:
savein interfaceClientStorageServiceStore- Specified by:
savein classAbstractClientStorageServiceStore- Parameters:
storageService- storage service- Returns:
- the operation, or a null if the data has not been modified since loading or saving
- Throws:
IOException- if an error occurs
-