org.apache.sandesha2.storage.inmemory
Class InMemoryStorageManager

java.lang.Object
  extended byorg.apache.sandesha2.storage.StorageManager
      extended byorg.apache.sandesha2.storage.inmemory.InMemoryStorageManager

public class InMemoryStorageManager
extends StorageManager

Author:
Chamikara Jayalath , Sanka Samaranayaka

Constructor Summary
InMemoryStorageManager(org.apache.axis2.context.ConfigurationContext context)
           
 
Method Summary
 CreateSeqBeanMgr getCreateSeqBeanMgr()
           
static InMemoryStorageManager getInstance(org.apache.axis2.context.ConfigurationContext context)
           
 NextMsgBeanMgr getNextMsgBeanMgr()
           
 SenderBeanMgr getRetransmitterBeanMgr()
           
 SequencePropertyBeanMgr getSequencePropretyBeanMgr()
           
 InvokerBeanMgr getStorageMapBeanMgr()
           
 Transaction getTransaction()
           
 void init(org.apache.axis2.context.ConfigurationContext context)
           
 void initStorage(org.apache.axis2.description.AxisModule moduleDesc)
           
 org.apache.axis2.context.MessageContext retrieveMessageContext(java.lang.String key, org.apache.axis2.context.ConfigurationContext context)
           
 org.apache.axiom.soap.SOAPEnvelope retrieveSOAPEnvelope(java.lang.String key)
           
 void storeMessageContext(java.lang.String key, org.apache.axis2.context.MessageContext msgContext)
           
 void storeSOAPEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope, java.lang.String key)
           
 void updateMessageContext(java.lang.String key, org.apache.axis2.context.MessageContext msgContext)
           
 
Methods inherited from class org.apache.sandesha2.storage.StorageManager
getContext, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryStorageManager

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

getTransaction

public Transaction getTransaction()
Specified by:
getTransaction in class StorageManager

getCreateSeqBeanMgr

public CreateSeqBeanMgr getCreateSeqBeanMgr()
Specified by:
getCreateSeqBeanMgr in class StorageManager

getNextMsgBeanMgr

public NextMsgBeanMgr getNextMsgBeanMgr()
Specified by:
getNextMsgBeanMgr in class StorageManager

getRetransmitterBeanMgr

public SenderBeanMgr getRetransmitterBeanMgr()
Specified by:
getRetransmitterBeanMgr in class StorageManager

getSequencePropretyBeanMgr

public SequencePropertyBeanMgr getSequencePropretyBeanMgr()
Specified by:
getSequencePropretyBeanMgr in class StorageManager

getStorageMapBeanMgr

public InvokerBeanMgr getStorageMapBeanMgr()
Specified by:
getStorageMapBeanMgr in class StorageManager

init

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

getInstance

public static InMemoryStorageManager getInstance(org.apache.axis2.context.ConfigurationContext context)

retrieveMessageContext

public org.apache.axis2.context.MessageContext retrieveMessageContext(java.lang.String key,
                                                                      org.apache.axis2.context.ConfigurationContext context)
Specified by:
retrieveMessageContext in class StorageManager

storeMessageContext

public void storeMessageContext(java.lang.String key,
                                org.apache.axis2.context.MessageContext msgContext)
Specified by:
storeMessageContext in class StorageManager

updateMessageContext

public void updateMessageContext(java.lang.String key,
                                 org.apache.axis2.context.MessageContext msgContext)
                          throws SandeshaStorageException
Specified by:
updateMessageContext in class StorageManager
Throws:
SandeshaStorageException

initStorage

public void initStorage(org.apache.axis2.description.AxisModule moduleDesc)
Specified by:
initStorage in class StorageManager

retrieveSOAPEnvelope

public org.apache.axiom.soap.SOAPEnvelope retrieveSOAPEnvelope(java.lang.String key)
                                                        throws SandeshaStorageException
Throws:
SandeshaStorageException

storeSOAPEnvelope

public void storeSOAPEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope,
                              java.lang.String key)
                       throws SandeshaStorageException
Throws:
SandeshaStorageException


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