org.exolab.jms.tranlog
Class StateTransactionLogEntry

java.lang.Object
  |
  +--org.exolab.jms.tranlog.BaseTransactionLogEntry
        |
        +--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

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


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