Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members

org.openmobileis.common.context.ApplicationContext Class Reference

List of all members.

Detailed Description

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.

Author:
Philippe Delrieu

Philippe Delrieu

Since:
JDK 1.1
Version:
1.0

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


Member Function Documentation

void org.openmobileis.common.context.ApplicationContext.addObject String  objectName,
Object  object
 

add the object with specified name to the context

Parameters:
objectName : object name
object : object added to the context.

Definition at line 58 of file ApplicationContext.java.

String [] org.openmobileis.common.context.ApplicationContext.getApplicationExecParameters  ) 
 

return the application arguments if initialized

Returns:
return the application parameters if initialized

Definition at line 93 of file ApplicationContext.java.

Object org.openmobileis.common.context.ApplicationContext.getObject String  objectName  ) 
 

return the application context with specified name

Parameters:
objectName : object name to return
Returns:
return the object with specified object name or null if not found.

Definition at line 81 of file ApplicationContext.java.

void org.openmobileis.common.context.ApplicationContext.removeObject String  objectName  ) 
 

remove the specified object name from the context

Parameters:
objectName : object name to remove

Definition at line 69 of file ApplicationContext.java.


The documentation for this class was generated from the following file:
Generated on Thu Oct 6 10:06:35 2005 for OpenMobileIS by  doxygen 1.4.3