public abstract class MQFunctionSelector
extends java.lang.Object
implements commonj.connector.runtime.FunctionSelector
The commonj.connection.runtime.FunctionSelector interface provides a single method which takes an array of arbitrary objects as a solitary argument.
MQFunctionSelector implements this method by calling an abstract method with a more descriptive argument list. An implementation of MQFunctionSelector will implement the new abstract method with the descriptive argument list.
FunctionSelector
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
MQFunctionSelector() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
generateEISFunctionName(MQMD md,
java.lang.String bodyFormat,
java.util.List headers,
MQDataInputStream input)
A more descriptive WMQ-specific method to extract a native
method name using the FunctionSelector interface.
|
java.lang.String |
generateEISFunctionName(java.lang.Object[] arg)
Given an array of arguments, returns the selected native
method name.
|
public static final java.lang.String COPYRIGHT
public final java.lang.String generateEISFunctionName(java.lang.Object[] arg) throws commonj.connector.runtime.SelectorException
This implementation calls the more descriptive, abstract method, and is an implementation of the generateEISFunctionName method from commonj.connector.runtime.FunctionSelector. An implementation of this MQFunctionSelector interface is not required to override this method.
generateEISFunctionName
in interface commonj.connector.runtime.FunctionSelector
commonj.connector.runtime.SelectorException
FunctionSelector.generateEISFunctionName(Object[])
public abstract java.lang.String generateEISFunctionName(MQMD md, java.lang.String bodyFormat, java.util.List headers, MQDataInputStream input) throws java.io.IOException, commonj.connector.runtime.SelectorException
Implement this method to provide a native function name from the contents of a WMQ message by extracting the relevant data from the provided WMQ-centric parameters.
java.io.IOException
commonj.connector.runtime.SelectorException