|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.util.GenericCache com.jfw.examples.MyCache
public final class MyCache
Field Summary |
---|
Fields inherited from class com.jfw.util.GenericCache |
---|
isObserver, updateObservable |
Method Summary | |
---|---|
java.lang.Object |
getData(java.lang.Object object)
Return cached data. |
static MyCache |
getInstance()
|
protected void |
initialize()
Read from a source the data to cache. |
Methods inherited from class com.jfw.util.GenericCache |
---|
update, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MyCache getInstance()
protected void initialize() throws java.lang.Exception
GenericCache
GenericCache.update()
.
initialize
in class GenericCache
java.lang.Exception
public java.lang.Object getData(java.lang.Object object) throws java.lang.Exception
GenericCache
getData
in class GenericCache
object
- input object to use or null.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |