public abstract class AbstractErrorHandlerCreationConfigurer extends Object implements org.springframework.context.annotation.ImportAware, org.springframework.beans.factory.InitializingBean
ErrorHandler creation.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractErrorHandlerCreationConfigurer(ErrorHandlerFactory errorHandlerFactory)
Protected constructor, in order to let it be initialized only by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected org.springframework.core.type.AnnotationMetadata |
getImportMetadata() |
protected abstract Collection<String> |
getPackagesCollection()
Returns a
Collection of package names to be used by the ErrorHandlerFactory
to create the ErrorHandler. |
void |
setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) |
protected AbstractErrorHandlerCreationConfigurer(ErrorHandlerFactory errorHandlerFactory)
errorHandlerFactory - The ErrorHandlerFactory to be used to create the ErrorHandler bean.protected org.springframework.core.type.AnnotationMetadata getImportMetadata()
AnnotationMetadata set in this configurer class.public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
setImportMetadata in interface org.springframework.context.annotation.ImportAwarepublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionprotected abstract Collection<String> getPackagesCollection() throws Exception
Collection of package names to be used by the ErrorHandlerFactory
to create the ErrorHandler.Collection of packages names.Exception - In case some error occurs in this process.Copyright © 2018. All rights reserved.