Class LoggingInterceptor
java.lang.Object
org.jboss.as.ejb3.component.interceptors.LoggingInterceptor
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionstatic final org.jboss.invocation.InterceptorFactorystatic final org.jboss.msc.service.ServiceNameFields inherited from interface org.jboss.invocation.Interceptor
EMPTY_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionprocessInvocation(org.jboss.invocation.InterceptorContext interceptorContext)
-
Field Details
-
LOGGING_ENABLED_SERVICE_NAME
public static final org.jboss.msc.service.ServiceName LOGGING_ENABLED_SERVICE_NAME -
FACTORY
public static final org.jboss.invocation.InterceptorFactory FACTORY
-
-
Method Details