com.jbase.jremote.jca.inflow.protocol
Class ActivationRequest
java.lang.Object
com.jbase.jremote.jca.inflow.protocol.ActivationRequest
- All Implemented Interfaces:
- JBaseSerializable, InboundRequest, java.lang.Runnable, javax.resource.spi.work.Work
public class ActivationRequest
- extends java.lang.Object
- implements InboundRequest, javax.resource.spi.work.Work
Constructor Summary |
|
ActivationRequest()
constructor required for object creation |
protected |
ActivationRequest(java.lang.String activation,
byte[] message,
java.lang.String transactionId)
constructor required for tests |
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(java.lang.String activation,
byte[] message,
java.lang.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 java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readObject
in interface JBaseSerializable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeObject
public void writeObject(JBaseObjectWriter writer,
int version)
throws java.io.IOException
- Specified by:
writeObject
in interface JBaseSerializable
- Throws:
java.io.IOException
getActivation
public java.lang.String getActivation()
getMessage
public byte[] getMessage()
getTransactionId
public java.lang.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 java.lang.Runnable
notifyWorkScheduled
public void notifyWorkScheduled()
sendReply
public void sendReply()
getVersion
public int getVersion()
- Specified by:
getVersion
in interface JBaseSerializable
Copyright © 2010 TEMENOS. All Rights Reserved.