org.apache.sandesha2.storage
Class StorageManager

java.lang.Object
  extended byorg.apache.sandesha2.storage.StorageManager
Direct Known Subclasses:
InMemoryStorageManager

public abstract class StorageManager
extends java.lang.Object

Storage managers should extend this.

Author:
Chamikara Jayalath , Sanka Samaranayaka

Constructor Summary
StorageManager(org.apache.axis2.context.ConfigurationContext context)
           
 
Method Summary
 org.apache.axis2.context.ConfigurationContext getContext()
           
abstract  CreateSeqBeanMgr getCreateSeqBeanMgr()
           
abstract  NextMsgBeanMgr getNextMsgBeanMgr()
           
abstract  SenderBeanMgr getRetransmitterBeanMgr()
           
abstract  SequencePropertyBeanMgr getSequencePropretyBeanMgr()
           
abstract  InvokerBeanMgr getStorageMapBeanMgr()
           
abstract  Transaction getTransaction()
           
abstract  void initStorage(org.apache.axis2.description.AxisModule moduleDesc)
           
abstract  org.apache.axis2.context.MessageContext retrieveMessageContext(java.lang.String storageKey, org.apache.axis2.context.ConfigurationContext configContext)
           
 void setContext(org.apache.axis2.context.ConfigurationContext context)
           
abstract  void storeMessageContext(java.lang.String storageKey, org.apache.axis2.context.MessageContext msgContext)
           
abstract  void updateMessageContext(java.lang.String storageKey, org.apache.axis2.context.MessageContext msgContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageManager

public StorageManager(org.apache.axis2.context.ConfigurationContext context)
Method Detail

getContext

public org.apache.axis2.context.ConfigurationContext getContext()

setContext

public void setContext(org.apache.axis2.context.ConfigurationContext context)

initStorage

public abstract void initStorage(org.apache.axis2.description.AxisModule moduleDesc)
                          throws SandeshaStorageException
Throws:
SandeshaStorageException

getTransaction

public abstract Transaction getTransaction()

getCreateSeqBeanMgr

public abstract CreateSeqBeanMgr getCreateSeqBeanMgr()

getNextMsgBeanMgr

public abstract NextMsgBeanMgr getNextMsgBeanMgr()

getRetransmitterBeanMgr

public abstract SenderBeanMgr getRetransmitterBeanMgr()

getSequencePropretyBeanMgr

public abstract SequencePropertyBeanMgr getSequencePropretyBeanMgr()

getStorageMapBeanMgr

public abstract InvokerBeanMgr getStorageMapBeanMgr()

storeMessageContext

public abstract void storeMessageContext(java.lang.String storageKey,
                                         org.apache.axis2.context.MessageContext msgContext)
                                  throws SandeshaStorageException
Throws:
SandeshaStorageException

updateMessageContext

public abstract void updateMessageContext(java.lang.String storageKey,
                                          org.apache.axis2.context.MessageContext msgContext)
                                   throws SandeshaStorageException
Throws:
SandeshaStorageException

retrieveMessageContext

public abstract org.apache.axis2.context.MessageContext retrieveMessageContext(java.lang.String storageKey,
                                                                               org.apache.axis2.context.ConfigurationContext configContext)
                                                                        throws SandeshaStorageException
Throws:
SandeshaStorageException


Copyright © 2005-2006 Apache Web Services. All Rights Reserved.