KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > ha > httpsession > beanimpl > interfaces > ClusteredHTTPSessionHome


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8 package org.jboss.ha.httpsession.beanimpl.interfaces;
9
10 import java.rmi.RemoteException JavaDoc;
11 import javax.ejb.CreateException JavaDoc;
12 import javax.ejb.FinderException JavaDoc;
13 import java.util.Collection JavaDoc;
14
15 import org.jboss.ha.httpsession.interfaces.SerializableHttpSession;
16
17 /**
18  * Home interface for clustered HTTP session.
19  *
20  * @see org.jboss.ha.httpsession.beanimpl.interfaces.ClusteredHTTPSession
21  *
22  * @author <a HREF="mailto:sacha.labourey@cogito-info.ch">Sacha Labourey</a>.
23  * @version $Revision: 1.2 $
24  *
25  * <p><b>Revisions:</b>
26  *
27  * <p><b>31. décembre 2001 Sacha Labourey:</b>
28  * <ul>
29  * <li> First implementation </li>
30  * </ul>
31  */

32
33 public interface ClusteredHTTPSessionHome extends javax.ejb.EJBHome JavaDoc
34 {
35     public static String JavaDoc JNDI_NAME = "clustering/HTTPSession";
36
37     // Constructors
38
//
39
public ClusteredHTTPSession create (String JavaDoc sessionId) throws RemoteException JavaDoc, CreateException JavaDoc;
40     public ClusteredHTTPSession create (String JavaDoc sessionId, SerializableHttpSession session) throws RemoteException JavaDoc, CreateException JavaDoc;
41
42     // Finders
43
//
44
public ClusteredHTTPSession findByPrimaryKey (String JavaDoc sessionId) throws RemoteException JavaDoc, FinderException JavaDoc;
45
46     // Returns a collection of known HttpSession instances
47
//
48
public Collection JavaDoc findAll() throws RemoteException JavaDoc, FinderException JavaDoc;
49
50 }
51
Popular Tags