jremote jbase5.2.1

com.jbase.jremote.jca.inflow.protocol
Class ActivationRequest

java.lang.Object
  extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.jbase.jremote.io.JBaseSerializable
JBaseSerializable.TYPE
 
Constructor Summary
  ActivationRequest()
          constructor required for object creation
protected ActivationRequest(java.lang.String activation, byte[] message, java.lang.String transactionId)
          constructor required for tests
 
Method Summary
 JBaseSerializable execute(ClientHandle handle, RequestHandler handler)
           
 java.lang.String getActivation()
           
 byte[] getMessage()
           
 java.lang.String getTransactionId()
           
 int getType()
           
 int getVersion()
           
protected  javax.resource.spi.work.WorkListener getWorkListener()
           
 void notifyWorkScheduled()
           
 void readObject(JBaseObjectReader reader, int version)
           
 void release()
           
 void run()
           
 void sendReply()
           
 void writeObject(JBaseObjectWriter writer, int version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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

Method Detail

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

jremote jbase5.2.1

Copyright © 2010 TEMENOS. All Rights Reserved.