public final class ReceiverInterceptor extends Object implements EJBClientInterceptor
EJBClientInterceptor.Registration
Constructor and Description |
---|
ReceiverInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
handleInvocation(EJBClientInvocationContext invocationContext)
Handle the invocation.
|
Object |
handleInvocationResult(EJBClientInvocationContext context)
Handle the invocation result.
|
public void handleInvocation(EJBClientInvocationContext invocationContext) throws Exception
EJBClientInterceptor
handleInvocation
in interface EJBClientInterceptor
invocationContext
- the invocation contextException
- if an invocation error occurspublic Object handleInvocationResult(EJBClientInvocationContext context) throws Exception
EJBClientInterceptor
EJBClientInvocationContext.getResult()
immediately and perform any post-invocation cleanup task in a finally block.handleInvocationResult
in interface EJBClientInterceptor
context
- the invocation contextException
- if an invocation error occurredCopyright © 2018 JBoss by Red Hat. All rights reserved.