public class ClusterHandle
extends java.lang.Object
implements javax.ejb.HomeHandle, javax.ejb.Handle, java.io.Serializable, javax.servlet.http.HttpSessionBindingListener
Constructor and Description |
---|
ClusterHandle(ClusterStub cs)
Constructor
|
Modifier and Type | Method and Description |
---|---|
javax.ejb.EJBHome |
getEJBHome() |
javax.ejb.EJBObject |
getEJBObject() |
void |
updateHttpSession()
Update the http session in which is bound the associated Handle
|
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent arg0) |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent arg0) |
public ClusterHandle(ClusterStub cs) throws java.rmi.RemoteException
cs
- ClusterStub objectjava.rmi.RemoteException
- if a serialization error occurspublic javax.ejb.EJBObject getEJBObject() throws java.rmi.RemoteException
getEJBObject
in interface javax.ejb.Handle
java.rmi.RemoteException
- if a deserialization error occurspublic javax.ejb.EJBHome getEJBHome() throws java.rmi.RemoteException
getEJBHome
in interface javax.ejb.HomeHandle
java.rmi.RemoteException
- if a deserialization error occurspublic void valueBound(javax.servlet.http.HttpSessionBindingEvent arg0)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent arg0)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
public void updateHttpSession()