Package org.opensaml.core.xml.config
Class GlobalParserPoolInitializer
- java.lang.Object
-
- org.opensaml.core.xml.config.GlobalParserPoolInitializer
-
- All Implemented Interfaces:
Initializer
public class GlobalParserPoolInitializer extends Object implements Initializer
An initializer for the global parser pool held by theXMLObjectProviderRegistry
.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 theConfigurationService
.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Logger
log
Logger.
-
Constructor Summary
Constructors Constructor Description GlobalParserPoolInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
Perform the initialization process encompassed by the implementation.
-
-
-
Method Detail
-
init
public void init() throws InitializationException
Perform the initialization process encompassed by the implementation.- Specified by:
init
in interfaceInitializer
- Throws:
InitializationException
- if initialization could not be completed successfully
-
-