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
A static builder for generating a batch metadata cache from a given specification.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(MetadataCacheBuilderSpec<IdentifierType, MetadataType> specification) Build the metadata cache from the given specification.
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
@Nonnull public MetadataCache<MetadataType> build(@Nonnull MetadataCacheBuilderSpec<IdentifierType, MetadataType> specification) throws ComponentInitializationExceptionBuild the metadata cache from the given specification.- Parameters:
specification- the metadata cache specification.- Returns:
- the batch metadata cache.
- Throws:
ComponentInitializationException- on error.
-