org.openmobileis.common.context.SessionContextService Interface Reference

Inheritance diagram for org.openmobileis.common.context.SessionContextService:

org.openmobileis.common.context.SessionContextManager List of all members.

Detailed Description

Definition at line 32 of file SessionContextService.java.

Public Member Functions

SessionContext getSessionContext (String id)
 return the session context with the specified id.
SessionContext getSessionContext ()
 return the session context associéted with the currentThread.
SessionContext createSessionContext (String id)
 create a new session context with the specified Id.
void joinSessionContext (String id)
 Join the current thread to the SessionContext with the specified id.
void leaveSessionContext ()
 After a thread has use a session context.


Member Function Documentation

SessionContext org.openmobileis.common.context.SessionContextService.getSessionContext ( String  id  ) 

return the session context with the specified id.

return null if not found

Implemented in org.openmobileis.common.context.SessionContextManager.

SessionContext org.openmobileis.common.context.SessionContextService.getSessionContext (  ) 

return the session context associéted with the currentThread.

Null if not session is associated with the current thread. The method joinSessionContext must have been call before.

Implemented in org.openmobileis.common.context.SessionContextManager.

void org.openmobileis.common.context.SessionContextService.joinSessionContext ( String  id  ) 

Join the current thread to the SessionContext with the specified id.

If no SessionContext has the id create it. A thread can only join one SessionContext.

Implemented in org.openmobileis.common.context.SessionContextManager.

void org.openmobileis.common.context.SessionContextService.leaveSessionContext (  ) 

After a thread has use a session context.

Before ending it must leave the session context.

Implemented in org.openmobileis.common.context.SessionContextManager.


The documentation for this interface was generated from the following file:
Generated on Tue May 22 23:01:15 2007 for OpenMobileIS by  doxygen 1.5.1-p1