jrun.servlet.session
Interface SessionIdGeneratorServiceMBean
- All Superinterfaces:
- java.io.Serializable, Service, ServiceMBean
- All Known Subinterfaces:
- SessionIdGenerator
- public interface SessionIdGeneratorServiceMBean
- extends ServiceMBean
The MBean interface for the JRun session ID generation service.
- Author:
- Karl Moss
| Methods inherited from interface jrunx.kernel.ServiceMBean |
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind |
generateSessionId
public java.lang.String generateSessionId()
- Generates a unique session ID
- Returns:
- The session ID
generateSessionId
public java.lang.String generateSessionId(java.lang.String startWith,
java.lang.String endWith)
- Generates a unique session ID. The servlet engine may require a specific beginning
and ending of the sessionID for connector communication. These Strings MUST be
prepended and appended to the sessionId.
- Parameters:
String - add this to the beginning of the session IDString - add this to the end of the session ID- Returns:
- The session ID
removeSessionId
public void removeSessionId(java.lang.String id)
- Remove session id from cache
getSessionIdGenerator
public SessionIdGenerator getSessionIdGenerator()
- Returns a direct reference to the generation service
- Returns:
- The session generation service
Copyright � 2002 Macromedia Corporation. All Rights Reserved.