com.ibm.mq.headers
Interface MQHeaderFactory.Registry
-
- All Known Implementing Classes:
- MQHeaderRegistry
- Enclosing interface:
- MQHeaderFactory
public static interface MQHeaderFactory.RegistryInterface representing a registry for MQHeaderFactories and their supported types and formats.- See Also:
MQHeaderRegistry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description MQHeaderFactorygetFactoryForFormat(java.lang.String format)MQHeaderFactorygetFactoryForType(java.lang.String type)java.util.Collection<?>getRegisteredFormats()java.util.Collection<?>getRegisteredTypes()voidregister(MQHeaderFactory factory)Registers an MQHeaderFactory.
-
-
-
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.
-
-