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:
  • Method Details

    • getFactoryForFormat

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

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

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

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

      Collection<?> getRegisteredTypes()
      Returns:
      the set of header types supported by the registered MQHeaderFactories.