org.mule.tck.util
Class FakeObjectStore<T extends Serializable>

java.lang.Object
  extended by org.mule.tck.util.FakeObjectStore<T>
All Implemented Interfaces:
ObjectStore<T>

public class FakeObjectStore<T extends Serializable>
extends Object
implements ObjectStore<T>


Constructor Summary
FakeObjectStore()
           
 
Method Summary
 boolean contains(Serializable key)
           
 boolean isPersistent()
           
 T remove(Serializable key)
           
 T retrieve(Serializable key)
           
 void store(Serializable key, T value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FakeObjectStore

public FakeObjectStore()
Method Detail

contains

public boolean contains(Serializable key)
                 throws ObjectStoreException
Specified by:
contains in interface ObjectStore<T extends Serializable>
Throws:
ObjectStoreException

store

public void store(Serializable key,
                  T value)
           throws ObjectStoreException
Specified by:
store in interface ObjectStore<T extends Serializable>
Throws:
ObjectStoreException

retrieve

public T retrieve(Serializable key)
                                throws ObjectStoreException
Specified by:
retrieve in interface ObjectStore<T extends Serializable>
Throws:
ObjectStoreException

remove

public T remove(Serializable key)
                              throws ObjectStoreException
Specified by:
remove in interface ObjectStore<T extends Serializable>
Throws:
ObjectStoreException

isPersistent

public boolean isPersistent()
Specified by:
isPersistent in interface ObjectStore<T extends Serializable>


Copyright © 2003-2013 MuleSoft, Inc.. All Rights Reserved.