Package org.javalite.activeweb
Class AppContext
java.lang.Object
org.javalite.activeweb.AppContext
Instance of this class can hold application-specific objects for duration of application life span.
- Author:
- Igor Polevoy
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AppContext
public AppContext()
-
-
Method Details
-
get
Retrieves object by name- Parameters:
name
- name of object- Returns:
- object by name;
-
get
Retrieves object by name. Convenience generic method.- Parameters:
name
- name of objecttype
- type requested.- Returns:
- object by name
-
set
Sets an application - wide object by name.- Parameters:
name
- name of objectobject
- - instance.
-