@Documented @Target(value=TYPE) @Retention(value=RUNTIME) public @interface ErrorHandler
InterceptorErrorHandlerand it should have a default constructor, an instance of the error handler will be created and associated with each interceptor.
If there are initialization parameters to be used in the error handler implementation you may use the spring bean
approach to configure the error handler, where the
bean attribute should refer to an existing spring
bean identifier which is an instance of the specified type, initialized with spring, and the bean should also be an
implementation of the
InterceptorErrorHandler so does the type
Copyright © 2010–2016 AdroitLogic. All rights reserved.