Package 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:
-
Method Summary
Modifier and TypeMethodDescriptiongetFactoryForFormat(String format) getFactoryForType(String type) Collection<?> Collection<?> voidregister(MQHeaderFactory factory) Registers an MQHeaderFactory.
-
Method Details
-
getFactoryForFormat
- Parameters:
format-- Returns:
- an MQHeaderFactory associated with the specified format.
-
getFactoryForType
- Parameters:
type-- Returns:
- an MQHeaderFactory that supports the specified header type.
-
register
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.
-