User: slaboure
Date: 02/01/06 04:04:37
Added: src/main/org/jboss/ha/httpsession/interfaces
LocalClusteredHTTPSession.java
LocalClusteredHTTPSessionHome.java
Log:
Added local interfaces support
Revision Changes Path
1.1
jbossmx/src/main/org/jboss/ha/httpsession/interfaces/LocalClusteredHTTPSession.java
Index: LocalClusteredHTTPSession.java
===================================================================
/*
* JBoss, the OpenSource J2EE webOS
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.ha.httpsession.interfaces;
/**
* Local interface for clustered HTTP sessions.
*
* @see org.jboss.ha.httpsession.interfaces.ClusteredHTTPSessionBusiness
*
* @author <a href="mailto:[EMAIL PROTECTED]">Sacha Labourey</a>.
* @version $Revision: 1.1 $
*
* <p><b>Revisions:</b>
*
* <p><b>20020105 Sacha Labourey:</b>
* <ul>
* <li> First implementation </li>
* </ul>
*/
public interface LocalClusteredHTTPSession extends ClusteredHTTPSessionBusiness,
javax.ejb.EJBLocalObject
{
}
1.1
jbossmx/src/main/org/jboss/ha/httpsession/interfaces/LocalClusteredHTTPSessionHome.java
Index: LocalClusteredHTTPSessionHome.java
===================================================================
/*
* JBoss, the OpenSource J2EE webOS
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.ha.httpsession.interfaces;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.FinderException;
import java.util.Collection;
/**
* Local Home interface for clustered HTTP session.
*
* @see org.jboss.ha.httpsession.interfaces.ClusteredHTTPSession
*
* @author <a href="mailto:[EMAIL PROTECTED]">Sacha Labourey</a>.
* @version $Revision: 1.1 $
*
* <p><b>Revisions:</b>
*
* <p><b>20020105 Sacha Labourey:</b>
* <ul>
* <li> First implementation </li>
* </ul>
*/
public interface LocalClusteredHTTPSessionHome extends javax.ejb.EJBLocalHome
{
public static String JNDI_NAME = "clustering/LocalHTTPSession";
// Constructors
//
public LocalClusteredHTTPSession create (String sessionId) throws
RemoteException, CreateException;
public LocalClusteredHTTPSession create (String sessionId,
SerializableHttpSession session) throws RemoteException, CreateException;
// Finders
//
public LocalClusteredHTTPSession findByPrimaryKey (String sessionId) throws
RemoteException, FinderException;
// Returns a collection of known HttpSession instances
//
public Collection findAll() throws RemoteException, FinderException;
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development