org.springframework.data.hadoop.config.common.annotation
Class AbstractAnnotationConfiguration<B extends AnnotationBuilder<O>,O>
java.lang.Object
org.springframework.data.hadoop.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
- Direct Known Subclasses:
- SpringYarnConfiguration
public abstract class AbstractAnnotationConfiguration<B extends AnnotationBuilder<O>,O>
- extends java.lang.Object
- implements org.springframework.context.annotation.ImportAware, org.springframework.beans.factory.BeanClassLoaderAware
Base implementation of @ class.
- Author:
- Janne Valkealahti
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAnnotationConfiguration
public AbstractAnnotationConfiguration()
setBeanClassLoader
public void setBeanClassLoader(java.lang.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(java.util.List<AnnotationConfigurer<O,B>> configurers)
throws java.lang.Exception
- Sets the configurers.
- Parameters:
configurers
- the configurers
- Throws:
java.lang.Exception
- the exception
getAnnotationAttributes
public org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes()
getConfigurers
public java.util.List<AnnotationConfigurer<O,B>> getConfigurers()
onConfigurers
protected abstract void onConfigurers(java.util.List<AnnotationConfigurer<O,B>> configurers)
throws java.lang.Exception
- Throws:
java.lang.Exception