Package org.opensaml.storage.impl.client
Class XMLClientStorageServiceStore.XMLClientStorageServiceStoreFactory
- java.lang.Object
-
- net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
-
- org.opensaml.storage.impl.client.XMLClientStorageServiceStore.XMLClientStorageServiceStoreFactory
-
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ClientStorageServiceStore.Factory
- Enclosing class:
- XMLClientStorageServiceStore
public static class XMLClientStorageServiceStore.XMLClientStorageServiceStoreFactory extends AbstractInitializableComponent implements ClientStorageServiceStore.Factory
Factory for XML-backed store.
-
-
Field Summary
Fields Modifier and Type Field Description private ParserPoolparserPoolParserPool to pass into stores.
-
Constructor Summary
Constructors Constructor Description XMLClientStorageServiceStoreFactory()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoDestroy()protected voiddoInitialize()ClientStorageServiceStoreload(String raw, ClientStorageService.ClientStorageSource src)Load raw data into a newClientStorageServiceStoreinstance.-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, initialize, isDestroyed, isInitialized
-
-
-
-
Field Detail
-
parserPool
@Nonnull private final ParserPool parserPool
ParserPool to pass into stores.
-
-
Method Detail
-
doInitialize
protected void doInitialize() throws ComponentInitializationException- Overrides:
doInitializein classAbstractInitializableComponent- Throws:
ComponentInitializationException
-
doDestroy
protected void doDestroy()
- Overrides:
doDestroyin classAbstractInitializableComponent
-
load
@Nonnull public ClientStorageServiceStore load(@Nullable @NotEmpty String raw, @Nonnull ClientStorageService.ClientStorageSource src)
Load raw data into a newClientStorageServiceStoreinstance.- Specified by:
loadin interfaceClientStorageServiceStore.Factory- Parameters:
raw- data to loadsrc- data source- Returns:
- new store instance
-
-