|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objecttoolbox.app.AppCache
public final class AppCache
Static class to cache all application environments for a specific JVM.
| Method Summary | |
|---|---|
static void |
addEnv(java.lang.String name,
AppEnv env)
Add an environment instance to the cache. |
static AppEnv |
getEnv(java.lang.String name)
Returns an AppEnv instance associated with the given name from this cache. |
static AppEnv |
removeEnv(java.lang.String name)
Returns an AppEnv instance associated with the given name from this cache and remove it from the cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void addEnv(java.lang.String name,
AppEnv env)
name - Name of application environment.env - AppEnv instance.public static AppEnv getEnv(java.lang.String name)
name - Application environment name.
public static AppEnv removeEnv(java.lang.String name)
name - Application environment name.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||