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
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.annotation.AnnotationAttributes
protected abstract void
onConfigurers
(List<AnnotationConfigurer<O, B>> configurers) void
setBeanClassLoader
(ClassLoader classLoader) void
setConfigurers
(List<AnnotationConfigurer<O, B>> configurers) Sets the configurers.void
setImportMetadata
(org.springframework.core.type.AnnotationMetadata importMetadata)
-
Constructor Details
-
AbstractAnnotationConfiguration
public AbstractAnnotationConfiguration()
-
-
Method Details
-
setBeanClassLoader
- Specified by:
setBeanClassLoader
in interfaceorg.springframework.beans.factory.BeanClassLoaderAware
-
setImportMetadata
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) - Specified by:
setImportMetadata
in 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
-