Spring for Apache Hadoop

org.springframework.data.hadoop.config.common.annotation
Class AbstractAnnotationConfiguration<B extends AnnotationBuilder<O>,O>

java.lang.Object
  extended by org.springframework.data.hadoop.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
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

Constructor Summary
AbstractAnnotationConfiguration()
           
 
Method Summary
 org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes()
           
 java.util.List<AnnotationConfigurer<O,B>> getConfigurers()
           
protected abstract  void onConfigurers(java.util.List<AnnotationConfigurer<O,B>> configurers)
           
 void setBeanClassLoader(java.lang.ClassLoader classLoader)
           
 void setConfigurers(java.util.List<AnnotationConfigurer<O,B>> configurers)
          Sets the configurers.
 void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAnnotationConfiguration

public AbstractAnnotationConfiguration()
Method Detail

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

Spring for Apache Hadoop