Class LoggingInterceptor
- java.lang.Object
-
- org.jboss.as.ejb3.component.interceptors.LoggingInterceptor
-
- All Implemented Interfaces:
org.jboss.invocation.Interceptor
public class LoggingInterceptor extends Object implements org.jboss.invocation.Interceptor
Logs any exceptions/errors that happen during invocation of Jakarta Enterprise Beans methods, as specified by the Enterprise Beans 3 spec, section 14.3 Note: This should be the near the start of interceptor in the chain of interceptors, for this to be able to catch all kinds of errors/exceptions. It should also be run inside the exception transforming interceptor, to make sure that the original exception is logged- Author:
- Jaikiran Pai
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.invocation.InterceptorFactoryFACTORYstatic org.jboss.msc.service.ServiceNameLOGGING_ENABLED_SERVICE_NAME
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectprocessInvocation(org.jboss.invocation.InterceptorContext interceptorContext)
-