Interface PayloadParserRegistry.ConfigurationCallback
-
- Enclosing class:
- PayloadParserRegistry
public static interface PayloadParserRegistry.ConfigurationCallbackConfiguration Callback that should be implemented by CSMessageParser that is in charge of managing all registrered pay load parsers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigurePayloadParser(java.lang.String namespace, PayloadParser payloadParser)Method called by the registry when a payload parser is initialized and needs current active configuration.booleanneedReinitialization(java.lang.String namespace)Method to determine if a parser needs to be reinitized with a new configuration.voidupdateContext()Method called by PayloadParserRegistry when a new payload parser have be registered or de-registered and the configuration manager might need to update it's context.
-
-
-
Method Detail
-
needReinitialization
boolean needReinitialization(java.lang.String namespace) throws MessageProcessingExceptionMethod to determine if a parser needs to be reinitized with a new configuration.- Throws:
MessageProcessingException- if internal exception occurred checking configuration update.
-
configurePayloadParser
void configurePayloadParser(java.lang.String namespace, PayloadParser payloadParser) throws MessageProcessingExceptionMethod called by the registry when a payload parser is initialized and needs current active configuration.- Throws:
MessageProcessingException- if internal exception occurred providing configuration data.
-
updateContext
void updateContext() throws MessageProcessingExceptionMethod called by PayloadParserRegistry when a new payload parser have be registered or de-registered and the configuration manager might need to update it's context.- Throws:
MessageProcessingException
-
-