A
- the receiver attachment type to which this interceptor applies; use Object
for protocol-independent
interceptorspublic interface EJBClientInterceptor
Modifier and Type | Interface and Description |
---|---|
static class |
EJBClientInterceptor.Registration
An interceptor registration handle.
|
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 © 2012 JBoss by Red Hat. All Rights Reserved.