JBoss EJB client 1.0.5.Final

org.jboss.ejb.client
Class ReceiverInterceptor

java.lang.Object
  extended by org.jboss.ejb.client.ReceiverInterceptor
All Implemented Interfaces:
EJBClientInterceptor

public final class ReceiverInterceptor
extends Object
implements EJBClientInterceptor

Author:
David M. Lloyd

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.ejb.client.EJBClientInterceptor
EJBClientInterceptor.Registration
 
Constructor Summary
ReceiverInterceptor()
           
 
Method Summary
 void handleInvocation(EJBClientInvocationContext invocationContext)
          Handle the invocation.
 Object handleInvocationResult(EJBClientInvocationContext context)
          Handle the invocation result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReceiverInterceptor

public ReceiverInterceptor()
Method Detail

handleInvocation

public void handleInvocation(EJBClientInvocationContext invocationContext)
                      throws Exception
Description copied from interface: EJBClientInterceptor
Handle the invocation. Implementations may short-circuit the invocation by throwing an exception. This method should process any per-interceptor state and return.

Specified by:
handleInvocation in interface EJBClientInterceptor
Parameters:
invocationContext - the invocation context
Throws:
Exception - if an invocation error occurs

handleInvocationResult

public Object handleInvocationResult(EJBClientInvocationContext context)
                              throws Exception
Description copied from interface: EJBClientInterceptor
Handle the invocation result. The implementation should generally call EJBClientInvocationContext.getResult() immediately and perform any post-invocation cleanup task in a finally block.

Specified by:
handleInvocationResult in interface EJBClientInterceptor
Parameters:
context - the invocation context
Returns:
the invocation result, if any
Throws:
Exception - if an invocation error occurred

JBoss EJB client 1.0.5.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.