weblogic.wtc.jatmi
Interface TPRequestAsyncReply
- All Superinterfaces:
- Serializable
public interface TPRequestAsyncReply
- extends Serializable
This class is a reply object used by a POJO to handle a asynchronous or synchronous reply to TUXEDO service.
- If EJB Name is specified in the configuration, then the call signature is EJB and
any value specified in the attribute Target Class is ignored.
- If EJB Name is not specified and Target Class is specified, the call
signature is POJO.
- For an exported resource with a target
.jar
file specified, WTC looks for the target class
in the specified .jar
file. If the class file is not found, a TPException.TPENOENT
is thrown.
Any error or exception occurring while loading the class also results in a TPException.TPENOENT
.
- For a configured exported resource with a POJO call signature, the target class should have a method
with a name of the Resource Name. This method takes two input parameters: the first is of
class
weblogic.wtc.jatmi.TPServiceInformation
, the second is weblogic.wtc.jatmi.TpRequestAsyncReply
.
- This method does not have a return value. The invoked POJO resource should call
tprequestAsyncreply
to return either a success or failure reply.
success
void success(Reply successReply)
failure
void failure(TPException failureReply)