Class MetadataCacheBuilder.Builder<IdentifierType,MetadataType>
- java.lang.Object
-
- net.shibboleth.oidc.metadata.cache.impl.MetadataCacheBuilder.Builder<IdentifierType,MetadataType>
-
- Type Parameters:
IdentifierType- The identifier typeMetadataType- The metadata type
- Enclosing class:
- MetadataCacheBuilder
public static class MetadataCacheBuilder.Builder<IdentifierType,MetadataType> extends Object
A static builder for generating a batch metadata cache from a given specification.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataCache<MetadataType>build(MetadataCacheBuilderSpec<IdentifierType,MetadataType> specification)Build the metadata cache from the given specification.
-
-
-
Method Detail
-
build
public MetadataCache<MetadataType> build(@Nonnull MetadataCacheBuilderSpec<IdentifierType,MetadataType> specification) throws ComponentInitializationException
Build the metadata cache from the given specification.- Parameters:
specification- the metadata cache specification.- Returns:
- the batch metadata cache.
- Throws:
ComponentInitializationException- on error.
-
-