Context is not persistent. The application context can be access using the ApplicationContextManager class.
Philippe Delrieu
Definition at line 42 of file ApplicationContext.java.
Public Member Functions | |
ApplicationContext () | |
void | addObject (String objectName, Object object) |
add the object with specified name to the context | |
void | removeObject (String objectName) |
remove the specified object name from the context | |
Object | getObject (String objectName) |
return the application context with specified name | |
String[] | getApplicationExecParameters () |
return the application arguments if initialized | |
void | setApplicationExecArguments (String[] args) |
set the application arguments | |
Plateform | getPlateform () |
return the plateform description of the hardware where the application is executed. | |
void | setPlateform (Plateform plateform) |
set the plateform description of the hardware where the application is executed. |
|
add the object with specified name to the context
Definition at line 60 of file ApplicationContext.java. |
|
return the application arguments if initialized
Definition at line 95 of file ApplicationContext.java. |
|
return the application context with specified name
Definition at line 83 of file ApplicationContext.java. Referenced by org.openmobileis.modules.crm.database.common.jdbc.JDBCGlobalPropertyQueryManager.JDBCGlobalPropertyQueryManager(). |
|
return the plateform description of the hardware where the application is executed. By default the DefaultPlateform instance is return.
Definition at line 111 of file ApplicationContext.java. |
|
remove the specified object name from the context
Definition at line 71 of file ApplicationContext.java. |
|
set the plateform description of the hardware where the application is executed. If not set, by default the DefaultPlateform instance is set.
Definition at line 121 of file ApplicationContext.java. |