@Configuration @EnableErrorHandlerFactory public class ErrorHandlerCreationConfigurer extends AnnotationErrorHandlerCreationConfigurer<EnableErrorHandler>
AnnotationErrorHandlerCreationConfigurer,
using EnableErrorHandler annotation.| Constructor and Description |
|---|
ErrorHandlerCreationConfigurer(ErrorHandlerFactory errorHandlerFactory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Class<EnableErrorHandler> |
getAnnotationClass() |
protected Collection<String> |
getPackagesCollectionFromAnnotation(EnableErrorHandler enableErrorHandler)
Retrieves a
Collection of packages names from the given annotation. |
getPackagesCollectionafterPropertiesSet, getImportMetadata, setImportMetadata@Autowired public ErrorHandlerCreationConfigurer(ErrorHandlerFactory errorHandlerFactory)
errorHandlerFactory - The ErrorHandlerFactory to be used to create the ErrorHandler bean.protected Class<EnableErrorHandler> getAnnotationClass()
getAnnotationClass in class AnnotationErrorHandlerCreationConfigurer<EnableErrorHandler>Class of the annotation used to retrieve packages from.protected Collection<String> getPackagesCollectionFromAnnotation(EnableErrorHandler enableErrorHandler)
AnnotationErrorHandlerCreationConfigurerCollection of packages names from the given annotation.getPackagesCollectionFromAnnotation in class AnnotationErrorHandlerCreationConfigurer<EnableErrorHandler>enableErrorHandler - The annotation from which packages will be retrieved.Collection of packages names to be retrieved by the AnnotationErrorHandlerCreationConfigurer.getPackagesCollection() method.Copyright © 2018. All rights reserved.