Class AbstractAnnotationConfiguration<B extends AnnotationBuilder<O>,O>
java.lang.Object
org.springframework.statemachine.config.common.annotation.AbstractAnnotationConfiguration<B,O>
- Type Parameters:
O- The object that used builder returnsB- The type of the builder
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.context.annotation.ImportAware
public abstract class AbstractAnnotationConfiguration<B extends AnnotationBuilder<O>,O>
extends Object
implements org.springframework.context.annotation.ImportAware, org.springframework.beans.factory.BeanClassLoaderAware
Base implementation of @
Configuration class.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.annotation.AnnotationAttributesprotected abstract voidonConfigurers(List<AnnotationConfigurer<O, B>> configurers) voidsetBeanClassLoader(ClassLoader classLoader) voidsetConfigurers(List<AnnotationConfigurer<O, B>> configurers) Sets the configurers.voidsetImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
-
Constructor Details
-
AbstractAnnotationConfiguration
public AbstractAnnotationConfiguration()
-
-
Method Details
-
setBeanClassLoader
- Specified by:
setBeanClassLoaderin interfaceorg.springframework.beans.factory.BeanClassLoaderAware
-
setImportMetadata
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) - Specified by:
setImportMetadatain interfaceorg.springframework.context.annotation.ImportAware
-
setConfigurers
@Autowired(required=false) public void setConfigurers(List<AnnotationConfigurer<O, B>> configurers) throws ExceptionSets the configurers.- Parameters:
configurers- the configurers- Throws:
Exception- the exception
-
getAnnotationAttributes
public org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes() -
getConfigurers
-
onConfigurers
- Throws:
Exception
-