|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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
GenericCacheGenericCache.update().
initialize in class GenericCachejava.lang.Exception
public java.lang.Object getData(java.lang.Object object)
throws java.lang.Exception
GenericCache
getData in class GenericCacheobject - 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 | |||||||||