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 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
Exception
public Object processInvocation(org.jboss.invocation.InterceptorContext context) throws Exception
processInvocation
in interface org.jboss.invocation.Interceptor
Exception
protected 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 EJBExceptionpublic EJBComponent getComponent()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.