|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClusteredHTTPSessionServiceMBean
Service that provide unified access to clustered HTTPSessions for servlets.
Revisions:
31. d?cembre 2001 Sacha Labourey:
ClusteredHTTPSession
,
ClusteredHTTPSessionHome
Field Summary |
---|
Fields inherited from interface org.jboss.system.ServiceMBean |
---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Method Summary | |
---|---|
SerializableHttpSession |
getHttpSession(String sessionId,
ClassLoader tcl)
Return the HttpSession associated to a session id. |
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(String sessionId)
Remove an HttpSession from the cluster (log off for example) |
void |
setHttpSession(String sessionId,
SerializableHttpSession 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 |
---|
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
---|
create, destroy, start, stop |
Method Detail |
---|
SerializableHttpSession getHttpSession(String sessionId, ClassLoader tcl) throws javax.ejb.EJBException
javax.ejb.EJBException
void setHttpSession(String sessionId, SerializableHttpSession session) throws javax.ejb.EJBException
javax.ejb.EJBException
void removeHttpSession(String sessionId) throws javax.ejb.EJBException
javax.ejb.EJBException
String getSessionId()
long getSessionTimeout()
void setSessionTimeout(long miliseconds)
void setUseLocalBean(boolean useLocal)
boolean getUseLocalBean()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |