public abstract class BMTInterceptor extends Object implements org.jboss.invocation.Interceptor
| Constructor and Description |
|---|
BMTInterceptor(EJBComponent component) |
| Modifier and Type | Method and Description |
|---|---|
EJBComponent |
getComponent() |
protected int |
getCurrentTransactionTimeout(EJBComponent component) |
protected Exception |
handleException(org.jboss.invocation.InterceptorContext invocation,
Throwable ex)
Checks if the passed exception is an application exception.
|
protected abstract Object |
handleInvocation(org.jboss.invocation.InterceptorContext invocation) |
Object |
processInvocation(org.jboss.invocation.InterceptorContext context) |
public BMTInterceptor(EJBComponent component)
protected abstract Object handleInvocation(org.jboss.invocation.InterceptorContext invocation) throws Exception
Exceptionpublic Object processInvocation(org.jboss.invocation.InterceptorContext context) throws Exception
processInvocation in interface org.jboss.invocation.InterceptorExceptionprotected Exception handleException(org.jboss.invocation.InterceptorContext invocation, Throwable ex) throws Exception
EJBException and throws the EJBExceptionex - The exception to handleException - Either the passed exception or an EJBExceptionprotected int getCurrentTransactionTimeout(EJBComponent component) throws SystemException
SystemExceptionpublic EJBComponent getComponent()
Copyright © 2018 JBoss by Red Hat. All rights reserved.