|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Service that provide unified access to clustered HTTPSessions for servlets.
ClusteredHTTPSession
(src) ,
ClusteredHTTPSessionHome
(src) Field Summary |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Method Summary | |
SerializableHttpSession (src) |
getHttpSession(java.lang.String sessionId,
java.lang.ClassLoader tcl)
Return the HttpSession associated to a session id. |
java.lang.String |
getSessionId()
Generates a new session id available cluster-wide |
long |
getSessionTimeout()
Indicate the duration, in ms, after which the session can be cleaned if no access occurs. |
boolean |
getUseLocalBean()
|
void |
removeHttpSession(java.lang.String sessionId)
Remove an HttpSession from the cluster (log off for example) |
void |
setHttpSession(java.lang.String sessionId,
SerializableHttpSession (src) session)
Associate a new session with the session id. |
void |
setSessionTimeout(long miliseconds)
Indicate the duration, in ms, after which the session can be cleaned if no access occurs. |
void |
setUseLocalBean(boolean useLocal)
Indicates whether the service should use the local and home interfaces of the entity bean or the remote and remote home interfaces (depending if they are in the same JVM). |
Methods inherited from interface org.jboss.system.ServiceMBean (src) |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service (src) |
create, destroy, start, stop |
Method Detail |
public SerializableHttpSession (src) getHttpSession(java.lang.String sessionId, java.lang.ClassLoader tcl) throws EJBException (src)
EJBException (src)
public void setHttpSession(java.lang.String sessionId, SerializableHttpSession (src) session) throws EJBException (src)
EJBException (src)
public void removeHttpSession(java.lang.String sessionId) throws EJBException (src)
EJBException (src)
public java.lang.String getSessionId()
public long getSessionTimeout()
public void setSessionTimeout(long miliseconds)
public void setUseLocalBean(boolean useLocal)
public boolean getUseLocalBean()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |