public interface EJBClientInterceptor
Interceptors are generally applied in priority order. Priority is determined by configuration or by the presence of
an ClientInterceptorPriority
annotation on the interceptor class. If priorities are equal, then the
following configuration order applies:
Modifier and Type | Method and Description |
---|---|
void |
handleInvocation(EJBClientInvocationContext context)
Handle the invocation.
|
Object |
handleInvocationResult(EJBClientInvocationContext context)
Handle the invocation result.
|
void handleInvocation(EJBClientInvocationContext context) throws Exception
context
- the invocation contextException
- if an invocation error occursObject handleInvocationResult(EJBClientInvocationContext context) throws Exception
EJBClientInvocationContext.getResult()
immediately and perform any post-invocation cleanup task in a finally block.context
- the invocation contextException
- if an invocation error occurredCopyright © 2017 JBoss by Red Hat. All rights reserved.