1 7 8 package org.jboss.ha.httpsession.server; 9 10 import javax.ejb.EJBException ; 11 12 import org.jboss.ha.httpsession.interfaces.SerializableHttpSession; 13 14 30 31 public interface ClusteredHTTPSessionServiceMBean extends org.jboss.system.ServiceMBean 32 { 33 41 public SerializableHttpSession getHttpSession (String sessionId, ClassLoader tcl) throws EJBException ; 42 52 public void setHttpSession (String sessionId, SerializableHttpSession session) throws EJBException ; 53 56 public void removeHttpSession (String sessionId) throws EJBException ; 57 60 public String getSessionId (); 61 62 66 public long getSessionTimeout (); 71 public void setSessionTimeout (long miliseconds); 72 73 78 public void setUseLocalBean (boolean useLocal); 79 public boolean getUseLocalBean (); 80 } 81 | Popular Tags |