org.smartcc
Class LocalTransport

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

public class LocalTransport
extends java.lang.Object
implements Transport

Forward an Invocation to a local session bean container.

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

Constructor Summary
LocalTransport()
           
 
Method Summary
protected  javax.naming.Context getContext()
           
protected  javax.ejb.EJBLocalHome getHome(java.lang.String lookup)
           
 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

LocalTransport

public LocalTransport()
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.EJBLocalHome getHome(java.lang.String lookup)

getContext

protected javax.naming.Context getContext()


Copyright © 2002 DC-TSS. All Rights Reserved.