|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.sca.mq.selector.MQFunctionSelector
public abstract class MQFunctionSelector
A helper class which makes it easier to write FunctionSelectors for use with WMQ Exports.
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
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Constructor Summary | |
---|---|
MQFunctionSelector()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public MQFunctionSelector()
Method Detail |
---|
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
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |