org.apache.sandesha2.storage
Class StorageManager
java.lang.Object
org.apache.sandesha2.storage.StorageManager
- Direct Known Subclasses:
- InMemoryStorageManager
public abstract class StorageManager
- extends java.lang.Object
Storage managers should extend this.
Constructor Summary |
StorageManager(org.apache.axis2.context.ConfigurationContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StorageManager
public StorageManager(org.apache.axis2.context.ConfigurationContext context)
getContext
public org.apache.axis2.context.ConfigurationContext getContext()
setContext
public void setContext(org.apache.axis2.context.ConfigurationContext context)
shutdown
public void shutdown()
initStorage
public abstract void initStorage(org.apache.axis2.description.AxisModule moduleDesc)
throws SandeshaStorageException
- Throws:
SandeshaStorageException
getTransaction
public abstract Transaction getTransaction()
getSender
public abstract SandeshaThread getSender()
getInvoker
public abstract SandeshaThread getInvoker()
- Get the invoker that hands inbound messages over to the application. This
may be null, in which case the inbound messages will be dispatched directly
to the application without switching them over to the invoker.
- Returns:
- null if messages should be delivered directly to the application,
otherwise return a SandeshaThread.
getPollingManager
public abstract PollingManager getPollingManager()
- Get the thread that generates polling requests to send to remote endpoints.
This may be null, in which case the storage manager does not support polling.
- Returns:
- null if polling is diabled, otherwise return a PollingManager.
getRMSBeanMgr
public abstract RMSBeanMgr getRMSBeanMgr()
getRMDBeanMgr
public abstract RMDBeanMgr getRMDBeanMgr()
getSenderBeanMgr
public abstract SenderBeanMgr getSenderBeanMgr()
getInvokerBeanMgr
public abstract InvokerBeanMgr getInvokerBeanMgr()
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
removeMessageContext
public abstract void removeMessageContext(java.lang.String storageKey)
throws SandeshaStorageException
- Throws:
SandeshaStorageException
Copyright © 2007 Apache Web Services Project. All Rights Reserved.