org.jboss.ejb3.remoting
Class IsLocalInterceptor

java.lang.Object
  extended by org.jboss.ejb3.remoting.IsLocalInterceptor
All Implemented Interfaces:
java.io.Serializable, org.jboss.aop.advice.Interceptor
Direct Known Subclasses:
ClusteredIsLocalInterceptor

public class IsLocalInterceptor
extends java.lang.Object
implements org.jboss.aop.advice.Interceptor, java.io.Serializable

Routes the call to the local container, bypassing further client-side interceptors and any remoting layer, if this interceptor was created in this JVM.

See Also:
Serialized Form

Field Summary
static java.lang.String GUID
           
static java.lang.String IS_LOCAL
           
static java.lang.String IS_LOCAL_EXCEPTION
           
 
Constructor Summary
IsLocalInterceptor()
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
           
protected  java.lang.Object invokeLocal(org.jboss.aop.joinpoint.Invocation invocation, Container container)
           
protected  boolean isLocal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GUID

public static final java.lang.String GUID
See Also:
Constant Field Values

IS_LOCAL

public static final java.lang.String IS_LOCAL
See Also:
Constant Field Values

IS_LOCAL_EXCEPTION

public static final java.lang.String IS_LOCAL_EXCEPTION
See Also:
Constant Field Values
Constructor Detail

IsLocalInterceptor

public IsLocalInterceptor()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface org.jboss.aop.advice.Interceptor

invoke

public java.lang.Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
                        throws java.lang.Throwable
Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
Throws:
java.lang.Throwable

invokeLocal

protected java.lang.Object invokeLocal(org.jboss.aop.joinpoint.Invocation invocation,
                                       Container container)
                                throws java.lang.Throwable
Throws:
java.lang.Throwable

isLocal

protected boolean isLocal()