1 2 24 25 package com.lutris.appserver.server.sessionEnhydra; 26 27 import java.util.Enumeration ; 28 29 import com.lutris.appserver.server.session.SessionException; 30 31 63 public interface StandardSessionHome { 64 65 85 public StandardSession createSession(String sessionKey) 86 throws CreateSessionException, DuplicateKeyException, SessionException; 87 88 104 public StandardSession getSession(String sessionKey) 105 throws SessionException; 106 107 128 public StandardSession getSession(Thread thread, String sessionKey) 129 throws SessionException; 130 131 140 public void removeSession(String sessionKey) throws SessionException; 141 142 155 public void passivateSession(Thread thread, String sessionKey) 156 throws SessionException; 157 158 168 public boolean containsKey(String sessionKey) throws SessionException; 169 170 178 public int size() throws SessionException; 179 180 189 public int pagedSize() throws SessionException; 190 191 199 public Enumeration keys() throws SessionException; 200 201 202 205 public void shutdown(); 206 207 } 208 209 210 211 212 | Popular Tags |