|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.spif.Store
The store chain entry point.
This store chain object does nothing else than being a singleton which forwards to whatever is chained to it.
There is no point in extending this class, instead chain functionality to it.
The Store provides static versions of the most used store chain methods. To make this possible, the instance returned is not an instance of store, but of an inner class (DefaultStore). However, this is a techincality which should never make any difference.
Method Summary | |
static StoreChain |
get()
Returns the singleton instance of this class |
static java.lang.Object |
get(Id id,
boolean writable)
Convenience static method. |
static Id |
put(Id id,
java.lang.Object object)
Convenience static method. |
static boolean |
remove(Id id)
Convenience static method. |
static StoreChain |
setChained(StoreChain chained)
Convenience static method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static StoreChain get()
public static java.lang.Object get(Id id, boolean writable)
Store.get().get(id,writable)
public static Id put(Id id, java.lang.Object object)
Store.get().put(id,object)
public static boolean remove(Id id)
Store.get().remove(id)
public static StoreChain setChained(StoreChain chained)
Store.get().remove(id)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |