org.apache.tuscany.core.webapp
Class LazyHTTPSessionId
java.lang.Object
org.apache.tuscany.core.webapp.LazyHTTPSessionId
- All Implemented Interfaces:
- ScopeIdentifier
public class LazyHTTPSessionId
- extends Object
- implements ScopeIdentifier
Implements a ScopeIdentifier
for a Servlet-based transport.
Wraps an HttpServletRequest
so that the session id associated
with the current request may be lazily retrieved by the module context - i.e.
if a session context or session-scoped component is not accessed, no session
is created.
- Version:
- $Rev: 408581 $ $Date: 2006-05-21 23:34:24 -0700 (Sun, 21 May 2006) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyHTTPSessionId
public LazyHTTPSessionId(javax.servlet.http.HttpServletRequest request)
getIdentifier
public Object getIdentifier()
- Returns the session identifier
- Specified by:
getIdentifier
in interface ScopeIdentifier
- See Also:
ScopeIdentifier.getIdentifier()
-