org.apache.geronimo.remoting
Class InterVMRoutingInterceptor

java.lang.Object
  extended byorg.apache.geronimo.remoting.InterVMRoutingInterceptor
All Implemented Interfaces:
Externalizable, org.apache.geronimo.core.service.Interceptor, Serializable

public class InterVMRoutingInterceptor
extends Object
implements org.apache.geronimo.core.service.Interceptor, Externalizable

Version:
$Revision: 1.4 $ $Date: 2004/03/10 09:59:19 $
See Also:
Serialized Form

Constructor Summary
InterVMRoutingInterceptor()
           
InterVMRoutingInterceptor(org.apache.geronimo.core.service.Interceptor transportInterceptor, org.apache.geronimo.core.service.Interceptor localInterceptor)
           
 
Method Summary
 org.apache.geronimo.core.service.Interceptor getLocalInterceptor()
           
static String getLocalVMID()
           
 String getTargetVMID()
           
 TransportInterceptor getTransportInterceptor()
           
 org.apache.geronimo.core.service.InvocationResult invoke(org.apache.geronimo.core.service.Invocation invocation)
           
 void readExternal(ObjectInput in)
           
 void setLocalInterceptor(org.apache.geronimo.core.service.Interceptor localInterceptor)
           
 void setTargetVMID(String targetVMID)
           
 void setTransportInterceptor(TransportInterceptor remotingInterceptor)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterVMRoutingInterceptor

public InterVMRoutingInterceptor()

InterVMRoutingInterceptor

public InterVMRoutingInterceptor(org.apache.geronimo.core.service.Interceptor transportInterceptor,
                                 org.apache.geronimo.core.service.Interceptor localInterceptor)
Method Detail

invoke

public org.apache.geronimo.core.service.InvocationResult invoke(org.apache.geronimo.core.service.Invocation invocation)
                                                         throws Throwable
Specified by:
invoke in interface org.apache.geronimo.core.service.Interceptor
Throws:
Throwable

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException
See Also:
Externalizable.writeExternal(java.io.ObjectOutput)

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException
See Also:
Externalizable.readExternal(java.io.ObjectInput)

getLocalVMID

public static String getLocalVMID()

getLocalInterceptor

public org.apache.geronimo.core.service.Interceptor getLocalInterceptor()
Returns:

setLocalInterceptor

public void setLocalInterceptor(org.apache.geronimo.core.service.Interceptor localInterceptor)
Parameters:
localInterceptor -

getTransportInterceptor

public TransportInterceptor getTransportInterceptor()
Returns:

setTransportInterceptor

public void setTransportInterceptor(TransportInterceptor remotingInterceptor)
Parameters:
remotingInterceptor -

getTargetVMID

public String getTargetVMID()
Returns:

setTargetVMID

public void setTargetVMID(String targetVMID)
Parameters:
targetVMID -


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.