public final class TransactionPostDiscoveryInterceptor extends Object implements EJBClientInterceptor
EJBClientInterceptor.Registration
Modifier and Type | Field and Description |
---|---|
static int |
PRIORITY
This interceptor's priority.
|
Constructor and Description |
---|
TransactionPostDiscoveryInterceptor()
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
handleInvocation(EJBClientInvocationContext context)
Handle the invocation.
|
Object |
handleInvocationResult(EJBClientInvocationContext context)
Handle the invocation result.
|
SessionID |
handleSessionCreation(EJBSessionCreationInvocationContext context)
Optionally handle a session creation invocation.
|
public static final int PRIORITY
public TransactionPostDiscoveryInterceptor()
public void handleInvocation(EJBClientInvocationContext context) throws Exception
EJBClientInterceptor
EJBClientInvocationContext.sendRequest()
.handleInvocation
in interface EJBClientInterceptor
context
- the invocation contextException
- if an invocation error occurspublic SessionID handleSessionCreation(EJBSessionCreationInvocationContext context) throws Exception
EJBClientInterceptor
handleSessionCreation
in interface EJBClientInterceptor
context
- the session creation invocation context (not null
)null
)Exception
- if an invocation error occurredpublic 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 © 2017 JBoss by Red Hat. All rights reserved.