com.ibm.mq.headers

Interface MQHeaderFactory.Registry

  • All Known Implementing Classes:
    MQHeaderRegistry
    Enclosing interface:
    MQHeaderFactory


    public static interface MQHeaderFactory.Registry
    Interface representing a registry for MQHeaderFactories and their supported types and formats.
    See Also:
    MQHeaderRegistry
    • Method Detail

      • getFactoryForFormat

        MQHeaderFactory getFactoryForFormat(java.lang.String format)
        Parameters:
        format -
        Returns:
        an MQHeaderFactory associated with the specified format.
      • getFactoryForType

        MQHeaderFactory getFactoryForType(java.lang.String type)
        Parameters:
        type -
        Returns:
        an MQHeaderFactory that supports the specified header type.
      • register

        void register(MQHeaderFactory factory)
        Registers an MQHeaderFactory.
        Parameters:
        factory -
      • getRegisteredFormats

        java.util.Collection<?> getRegisteredFormats()
        Returns:
        the set of formats supported by the registered MQHeaderFactories.
      • getRegisteredTypes

        java.util.Collection<?> getRegisteredTypes()
        Returns:
        the set of header types supported by the registered MQHeaderFactories.
(c) Copyright IBM Corp. 2008, 2016. All Rights Reserved.