org.jboss.ejb.client
Class ReceiverInterceptor
java.lang.Object
org.jboss.ejb.client.ReceiverInterceptor
- All Implemented Interfaces:
- EJBClientInterceptor
public final class ReceiverInterceptor
- extends Object
- implements EJBClientInterceptor
- Author:
- David M. Lloyd
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReceiverInterceptor
public ReceiverInterceptor()
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
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.