org.jboss.ejb3.remoting
Class IsLocalInterceptor

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

public class IsLocalInterceptor
extends Object
implements org.jboss.aop.advice.Interceptor, 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.

Version:
$Revision: 82687 $
Author:
Bill Burke, Brian Stansberry
See Also:
Serialized Form

Field Summary
static String GUID
           
static String IS_LOCAL
           
static String IS_LOCAL_EXCEPTION
           
 
Constructor Summary
IsLocalInterceptor()
           
 
Method Summary
 String getName()
           
 Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
           
protected  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 String GUID
See Also:
Constant Field Values

IS_LOCAL

public static final String IS_LOCAL
See Also:
Constant Field Values

IS_LOCAL_EXCEPTION

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

IsLocalInterceptor

public IsLocalInterceptor()
Method Detail

getName

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

invoke

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

invokeLocal

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

isLocal

protected boolean isLocal()


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.