Package org.opensaml.core.xml.config
Class GlobalParserPoolInitializer
java.lang.Object
org.opensaml.core.xml.config.GlobalParserPoolInitializer
- All Implemented Interfaces:
Initializer
An initializer for the global parser pool held by the
XMLObjectProviderRegistry.
The ParserPool configured by default here is an instance of
BasicParserPool, with a maxPoolSize property of 50
and all other properties with default values.
If a deployment wishes to use a different parser pool implementation,
or one configured with different characteristics, they may
simply configure a different ParserPool after initialization by
retrieving the XMLObjectProviderRegistry from the ConfigurationService.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()Perform the initialization process encompassed by the implementation.
-
Field Details
-
log
@Nonnull private org.slf4j.Logger logLogger.
-
-
Constructor Details
-
GlobalParserPoolInitializer
public GlobalParserPoolInitializer()
-
-
Method Details
-
init
Perform the initialization process encompassed by the implementation.- Specified by:
initin interfaceInitializer- Throws:
InitializationException- if initialization could not be completed successfully
-