|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openmobileis.common.context.ApplicationContext
Application Context are use to share application specific data between application objects. Context is not persistent. The application context can be access using the ApplicationContextManager class.
Constructor Summary | |
ApplicationContext()
|
Method Summary | |
void |
addObject(java.lang.String objectName,
java.lang.Object object)
add the object with specified name to the context |
java.lang.String[] |
getApplicationExecParameters()
return the application arguments if initialized |
java.lang.Object |
getObject(java.lang.String objectName)
return the application context with specified name |
java.util.Set |
getObjectNames()
return objects'keys in the context Map |
Plateform |
getPlateform()
return the plateform description of the hardware where the application is executed. |
void |
removeObject(java.lang.String objectName)
remove the specified object name from the context |
void |
setApplicationExecArguments(java.lang.String[] args)
set the application arguments |
void |
setPlateform(Plateform plateform)
set the plateform description of the hardware where the application is executed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ApplicationContext()
Method Detail |
public void addObject(java.lang.String objectName, java.lang.Object object)
objectName
- : object nameobject
- : object added to the context.public void removeObject(java.lang.String objectName)
objectName
- : object name to removepublic java.lang.Object getObject(java.lang.String objectName)
objectName
- : object name to return
public java.lang.String[] getApplicationExecParameters()
public void setApplicationExecArguments(java.lang.String[] args)
public Plateform getPlateform()
public void setPlateform(Plateform plateform)
public java.util.Set getObjectNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |