org.mule.tck.util
Class FakeObjectStore<T extends Serializable>
java.lang.Object
org.mule.tck.util.FakeObjectStore<T>
- All Implemented Interfaces:
- ObjectStore<T>
public class FakeObjectStore<T extends Serializable>
- extends Object
- implements ObjectStore<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FakeObjectStore
public FakeObjectStore()
contains
public boolean contains(Serializable key)
throws ObjectStoreException
- Specified by:
contains in interface ObjectStore<T extends Serializable>
- Throws:
ObjectStoreException
clear
public void clear()
throws ObjectStoreException
- Specified by:
clear 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–2014 MuleSoft, Inc.. All rights reserved.