com.jbase.jremote.jca.inflow.protocol
Class ActivationRequest
java.lang.Object
com.jbase.jremote.jca.inflow.protocol.ActivationRequest
- All Implemented Interfaces:
- JBaseSerializable, InboundRequest, Runnable, javax.resource.spi.work.Work
public class ActivationRequest
- extends Object
- implements InboundRequest, javax.resource.spi.work.Work
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivationRequest
public ActivationRequest()
- constructor required for object creation
ActivationRequest
protected ActivationRequest(String activation,
byte[] message,
String transactionId)
- constructor required for tests
getType
public int getType()
- Specified by:
getType
in interface JBaseSerializable
- Returns:
- type id of the objects, used during the serialization
readObject
public void readObject(JBaseObjectReader reader,
int version)
throws IOException,
ClassNotFoundException
- Specified by:
readObject
in interface JBaseSerializable
- Throws:
IOException
ClassNotFoundException
writeObject
public void writeObject(JBaseObjectWriter writer,
int version)
throws IOException
- Specified by:
writeObject
in interface JBaseSerializable
- Throws:
IOException
getActivation
public String getActivation()
getMessage
public byte[] getMessage()
getTransactionId
public String getTransactionId()
- Specified by:
getTransactionId
in interface InboundRequest
execute
public JBaseSerializable execute(ClientHandle handle,
RequestHandler handler)
- Specified by:
execute
in interface InboundRequest
getWorkListener
protected javax.resource.spi.work.WorkListener getWorkListener()
release
public void release()
- Specified by:
release
in interface javax.resource.spi.work.Work
run
public void run()
- Specified by:
run
in interface Runnable
notifyWorkScheduled
public void notifyWorkScheduled()
sendReply
public void sendReply()
getVersion
public int getVersion()
- Specified by:
getVersion
in interface JBaseSerializable
Copyright © 2016 TEMENOS. All Rights Reserved.