com.dsoft.jca.spi
Class EisXAResource

java.lang.Object
  extended by com.dsoft.jca.spi.EisXAResource
All Implemented Interfaces:
javax.transaction.xa.XAResource

public class EisXAResource
extends java.lang.Object
implements javax.transaction.xa.XAResource

Author:
qsadmel

Field Summary
static java.lang.String METHOD_NAME
           
 
Fields inherited from interface javax.transaction.xa.XAResource
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY
 
Constructor Summary
EisXAResource()
           
 
Method Summary
 void commit(javax.transaction.xa.Xid arg0, boolean arg1)
           
 void end(javax.transaction.xa.Xid arg0, int arg1)
           
 void forget(javax.transaction.xa.Xid arg0)
           
 MessageEndpoint getMessageEndpoint()
           
 int getTransactionTimeout()
           
 boolean isSameRM(javax.transaction.xa.XAResource arg0)
           
 int prepare(javax.transaction.xa.Xid arg0)
           
 javax.transaction.xa.Xid[] recover(int arg0)
           
 void rollback(javax.transaction.xa.Xid arg0)
           
 void sendReceivedMessageToMDB(java.lang.Object message)
          sendReceivedMessageToMDB
 void setMessageEndpoint(MessageEndpoint messageEndpoint)
           
 boolean setTransactionTimeout(int arg0)
           
 void start(javax.transaction.xa.Xid arg0, int arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHOD_NAME

public static final java.lang.String METHOD_NAME
See Also:
Constant Field Values
Constructor Detail

EisXAResource

public EisXAResource()
Method Detail

commit

public void commit(javax.transaction.xa.Xid arg0,
                   boolean arg1)
            throws javax.transaction.xa.XAException
Specified by:
commit in interface javax.transaction.xa.XAResource
Throws:
javax.transaction.xa.XAException

end

public void end(javax.transaction.xa.Xid arg0,
                int arg1)
         throws javax.transaction.xa.XAException
Specified by:
end in interface javax.transaction.xa.XAResource
Throws:
javax.transaction.xa.XAException

forget

public void forget(javax.transaction.xa.Xid arg0)
            throws javax.transaction.xa.XAException
Specified by:
forget in interface javax.transaction.xa.XAResource
Throws:
javax.transaction.xa.XAException

getTransactionTimeout

public int getTransactionTimeout()
                          throws javax.transaction.xa.XAException
Specified by:
getTransactionTimeout in interface javax.transaction.xa.XAResource
Throws:
javax.transaction.xa.XAException

isSameRM

public boolean isSameRM(javax.transaction.xa.XAResource arg0)
                 throws javax.transaction.xa.XAException
Specified by:
isSameRM in interface javax.transaction.xa.XAResource
Throws:
javax.transaction.xa.XAException

prepare

public int prepare(javax.transaction.xa.Xid arg0)
            throws javax.transaction.xa.XAException
Specified by:
prepare in interface javax.transaction.xa.XAResource
Throws:
javax.transaction.xa.XAException

recover

public javax.transaction.xa.Xid[] recover(int arg0)
                                   throws javax.transaction.xa.XAException
Specified by:
recover in interface javax.transaction.xa.XAResource
Throws:
javax.transaction.xa.XAException

rollback

public void rollback(javax.transaction.xa.Xid arg0)
              throws javax.transaction.xa.XAException
Specified by:
rollback in interface javax.transaction.xa.XAResource
Throws:
javax.transaction.xa.XAException

setTransactionTimeout

public boolean setTransactionTimeout(int arg0)
                              throws javax.transaction.xa.XAException
Specified by:
setTransactionTimeout in interface javax.transaction.xa.XAResource
Throws:
javax.transaction.xa.XAException

start

public void start(javax.transaction.xa.Xid arg0,
                  int arg1)
           throws javax.transaction.xa.XAException
Specified by:
start in interface javax.transaction.xa.XAResource
Throws:
javax.transaction.xa.XAException

sendReceivedMessageToMDB

public void sendReceivedMessageToMDB(java.lang.Object message)
sendReceivedMessageToMDB

Parameters:
message -

getMessageEndpoint

public MessageEndpoint getMessageEndpoint()
Returns:
the messageEndpoint

setMessageEndpoint

public void setMessageEndpoint(MessageEndpoint messageEndpoint)
Parameters:
messageEndpoint - the messageEndpoint to set


Copyright © 2006 DSoft Technologies. All Rights Reserved.