org.smartcc
Class RMITransport

java.lang.Object
  |
  +--org.smartcc.RMITransport
All Implemented Interfaces:
Interceptor, Transport

public class RMITransport
extends java.lang.Object
implements Transport

Forward an Invocation to the ejb remote stub / home impl.

Version:
$Revision: 1.1.1.1 $
Author:
Holger Engels.

Constructor Summary
RMITransport()
           
 
Method Summary
protected  javax.ejb.EJBHome getHome(java.lang.String lookup, java.util.Properties properties)
           
 Interceptor getNext()
          Get the next Interceptor.
 java.lang.Object invoke(Invocation invocation)
          Perform some interceptor specific action and propagate the Invocation.
 void setNext(Interceptor interceptor)
          Append the next Interceptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMITransport

public RMITransport()
Method Detail

setNext

public void setNext(Interceptor interceptor)
Description copied from interface: Interceptor
Append the next Interceptor.

Specified by:
setNext in interface Interceptor
Parameters:
interceptor - the interceptor, that follows this interceptor

getNext

public Interceptor getNext()
Description copied from interface: Interceptor
Get the next Interceptor.

Specified by:
getNext in interface Interceptor
Returns:
the next Interceptor in the chain

invoke

public java.lang.Object invoke(Invocation invocation)
                        throws java.lang.Throwable
Description copied from interface: Interceptor
Perform some interceptor specific action and propagate the Invocation.

Specified by:
invoke in interface Interceptor
Parameters:
invocation - the Invocation
Returns:
the result
java.lang.Throwable

getHome

protected javax.ejb.EJBHome getHome(java.lang.String lookup,
                                    java.util.Properties properties)


Copyright © 2002 DC-TSS. All Rights Reserved.