org.ow2.cmi.reference
Interface CMIProxyHandle

All Superinterfaces:
java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, java.io.Serializable

public interface CMIProxyHandle
extends java.io.Serializable, javax.servlet.http.HttpSessionBindingListener

Handle an instance of CMIProxy. The instances of this class can be replicated with Tomcat HA.

Author:
Loris Bouzonnet

Method Summary
 CMIProxy getCMIProxy()
           
 java.lang.String getInterfaceName()
           
 java.lang.String getObjectName()
           
 byte[] getSerializedCMIInvocationHandler()
           
 CMIProxyHandle 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)
           
 

Method Detail

getCMIProxy

CMIProxy getCMIProxy()
                     throws java.rmi.RemoteException
Returns:
the cmi proxy
Throws:
java.rmi.RemoteException - if the unserialization fails

valueBound

void valueBound(javax.servlet.http.HttpSessionBindingEvent arg0)
Specified by:
valueBound in interface javax.servlet.http.HttpSessionBindingListener

valueUnbound

void valueUnbound(javax.servlet.http.HttpSessionBindingEvent arg0)
Specified by:
valueUnbound in interface javax.servlet.http.HttpSessionBindingListener

updateHttpSession

CMIProxyHandle updateHttpSession()
Update the HTTP session in which is bound the associated Handle.

Returns:
the new reference used by the HTTP session

getSerializedCMIInvocationHandler

byte[] getSerializedCMIInvocationHandler()

getInterfaceName

java.lang.String getInterfaceName()

getObjectName

java.lang.String getObjectName()


Copyright © 2009 OW2 Consortium. All Rights Reserved.