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 returns
B - 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.
Author:
Janne Valkealahti
  • Constructor Details

    • AbstractAnnotationConfiguration

      public AbstractAnnotationConfiguration()
  • Method Details

    • setBeanClassLoader

      public void setBeanClassLoader(ClassLoader classLoader)
      Specified by:
      setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAware
    • setImportMetadata

      public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
      Specified by:
      setImportMetadata in interface org.springframework.context.annotation.ImportAware
    • setConfigurers

      @Autowired(required=false) public void setConfigurers(List<AnnotationConfigurer<O,B>> configurers) throws Exception
      Sets the configurers.
      Parameters:
      configurers - the configurers
      Throws:
      Exception - the exception
    • getAnnotationAttributes

      public org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes()
    • getConfigurers

      public List<AnnotationConfigurer<O,B>> getConfigurers()
    • onConfigurers

      protected abstract void onConfigurers(List<AnnotationConfigurer<O,B>> configurers) throws Exception
      Throws:
      Exception