org.apache.sandesha2.storage.inmemory
Class InMemoryInvokerBeanMgr

java.lang.Object
  extended by org.apache.sandesha2.storage.inmemory.InMemoryInvokerBeanMgr
All Implemented Interfaces:
InvokerBeanMgr, RMBeanManager

public class InMemoryInvokerBeanMgr
extends java.lang.Object
implements InvokerBeanMgr


Field Summary
protected  InMemoryStorageManager mgr
           
protected  java.util.concurrent.ConcurrentHashMap table
           
 
Constructor Summary
InMemoryInvokerBeanMgr(InMemoryStorageManager mgr, org.apache.axis2.context.AbstractContext context)
           
 
Method Summary
protected  RMBean delete(java.lang.Object key)
           
 boolean delete(java.lang.String key)
           
 java.util.List find(InvokerBean bean)
           
protected  java.util.List find(RMBean matchInfo)
           
protected  java.util.List findNoLock(RMBean matchInfo)
           
 InvokerBean findUnique(InvokerBean bean)
           
protected  RMBean findUnique(RMBean matchInfo)
           
protected  RMBean findUniqueNoLock(RMBean matchInfo)
           
 boolean insert(InvokerBean bean)
           
protected  boolean insert(java.lang.Object key, RMBean bean)
           
protected  RMBean retrieve(java.lang.Object key)
           
 InvokerBean retrieve(java.lang.String key)
           
 boolean update(InvokerBean bean)
           
protected  boolean update(java.lang.Object key, RMBean bean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

protected java.util.concurrent.ConcurrentHashMap table

mgr

protected InMemoryStorageManager mgr
Constructor Detail

InMemoryInvokerBeanMgr

public InMemoryInvokerBeanMgr(InMemoryStorageManager mgr,
                              org.apache.axis2.context.AbstractContext context)
Method Detail

insert

public boolean insert(InvokerBean bean)
               throws SandeshaStorageException
Specified by:
insert in interface InvokerBeanMgr
Throws:
SandeshaStorageException

delete

public boolean delete(java.lang.String key)
               throws SandeshaStorageException
Specified by:
delete in interface InvokerBeanMgr
Throws:
SandeshaStorageException

retrieve

public InvokerBean retrieve(java.lang.String key)
                     throws SandeshaStorageException
Specified by:
retrieve in interface InvokerBeanMgr
Throws:
SandeshaStorageException

find

public java.util.List find(InvokerBean bean)
                    throws SandeshaStorageException
Specified by:
find in interface InvokerBeanMgr
Throws:
SandeshaStorageException

update

public boolean update(InvokerBean bean)
               throws SandeshaStorageException
Specified by:
update in interface InvokerBeanMgr
Throws:
SandeshaStorageException

findUnique

public InvokerBean findUnique(InvokerBean bean)
                       throws SandeshaException
Specified by:
findUnique in interface InvokerBeanMgr
Throws:
SandeshaException

insert

protected boolean insert(java.lang.Object key,
                         RMBean bean)
                  throws SandeshaStorageException
Throws:
SandeshaStorageException

delete

protected RMBean delete(java.lang.Object key)
                 throws SandeshaStorageException
Throws:
SandeshaStorageException

retrieve

protected RMBean retrieve(java.lang.Object key)
                   throws SandeshaStorageException
Throws:
SandeshaStorageException

update

protected boolean update(java.lang.Object key,
                         RMBean bean)
                  throws SandeshaStorageException
Throws:
SandeshaStorageException

find

protected java.util.List find(RMBean matchInfo)
                       throws SandeshaStorageException
Throws:
SandeshaStorageException

findNoLock

protected java.util.List findNoLock(RMBean matchInfo)
                             throws SandeshaStorageException
Throws:
SandeshaStorageException

findUnique

protected RMBean findUnique(RMBean matchInfo)
                     throws SandeshaStorageException
Throws:
SandeshaStorageException

findUniqueNoLock

protected RMBean findUniqueNoLock(RMBean matchInfo)
                           throws SandeshaStorageException
Throws:
SandeshaStorageException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.