org.exolab.jms.tranlog
Class StateTransactionLogEntry

java.lang.Object
  extended by org.exolab.jms.tranlog.BaseTransactionLogEntry
      extended by org.exolab.jms.tranlog.StateTransactionLogEntry
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class StateTransactionLogEntry
extends BaseTransactionLogEntry
implements java.io.Externalizable

See Also:
Serialized Form

Constructor Summary
StateTransactionLogEntry()
          Default constuctor for serialization
 
Method Summary
 TransactionState getState()
          Get the transaction state
 void readExternal(java.io.ObjectInput stream)
           
 void setState(TransactionState state)
          Set the transaction state
 void writeExternal(java.io.ObjectOutput stream)
           
 
Methods inherited from class org.exolab.jms.tranlog.BaseTransactionLogEntry
getCreated, getExpiryTime, getExternalXid, getResourceId, setCreated, setCreated, setExpiryTime, setExternalXid, setResourceId, transactionExpired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateTransactionLogEntry

public StateTransactionLogEntry()
Default constuctor for serialization

Method Detail

setState

public void setState(TransactionState state)
Set the transaction state

Parameters:
state -

getState

public TransactionState getState()
Get the transaction state

Returns:
TransactionState

writeExternal

public void writeExternal(java.io.ObjectOutput stream)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Overrides:
writeExternal in class BaseTransactionLogEntry
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput stream)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Overrides:
readExternal in class BaseTransactionLogEntry
Throws:
java.io.IOException
java.lang.ClassNotFoundException


Copyright © 1999-2005 The OpenJMS Group. All Rights Reserved.