Class CSMessageParserManager


  • public class CSMessageParserManager
    extends java.lang.Object
    Factory class in charge of creating and initializing a CS Message Parser from a given configuration.
    • Field Detail

      • SETTING_CSMESSAGEPARSER_IMPL

        public static final java.lang.String SETTING_CSMESSAGEPARSER_IMPL
        Setting indicating which implementation of CS Message Parser that should be used. By default is the Default Message Parser used.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CSMessageParserManager

        public CSMessageParserManager()
    • Method Detail

      • initCSMessageParser

        public static CSMessageParser initCSMessageParser​(MessageSecurityProvider securityProvider,
                                                          java.util.Properties config)
                                                   throws MessageProcessingException
        Method to generate a new CSMessageParser from the configuration, if setting "csmessage.parser.impl" isn't set will the default message parser be created.
        Parameters:
        securityProvider - the security provider used for the message parser.
        config - the configuration context.
        Returns:
        a newly created CS Message parser
        Throws:
        MessageProcessingException - if problems occurred creating a message parser.
      • isInitialized

        public static boolean isInitialized()
        Returns:
        true if CSMessageParser have been initialized.