org.apache.qpid.server.store
Class StoreContext

java.lang.Object
  extended by org.apache.qpid.server.store.StoreContext

public class StoreContext
extends Object

A context that the store can use to associate with a transactional context. For example, it could store some kind of txn id.


Constructor Summary
StoreContext()
           
StoreContext(String name)
           
 
Method Summary
 Object getPayload()
           
 void setPayload(Object payload)
           
 String toString()
          Prints out the transactional context as a string, mainly for debugging purposes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StoreContext

public StoreContext()

StoreContext

public StoreContext(String name)
Method Detail

getPayload

public Object getPayload()

setPayload

public void setPayload(Object payload)

toString

public String toString()
Prints out the transactional context as a string, mainly for debugging purposes.

Overrides:
toString in class Object
Returns:
The transactional context as a string.


Licensed to the Apache Software Foundation