public interface ErrorHandlerFactory<A extends Action>
ExtensionPoint.getErrorHandlerFactory()
). If no factory
is given, a default error handler will be used by the system
(eg. LoggingErrorHandlerFactory
). The error handler factory
must be thread-safe since it can be used by many threads at the same
time.Modifier and Type | Method and Description |
---|---|
ErrorHandler<A> |
getErrorHandler(InvokationContext<? extends A> context)
Get an error handler for the current context.
|
ErrorHandler<A> getErrorHandler(InvokationContext<? extends A> context)
context
- The current invokation context which is an extension
point context (the InvokationContext.getExtension()
method
is expected to return null)