org.apache.tuscany.sca.implementation.spring.processor
Class ComponentNameAnnotationProcessor

java.lang.Object
  extended by org.apache.tuscany.sca.implementation.spring.processor.ComponentNameAnnotationProcessor

public class ComponentNameAnnotationProcessor
extends java.lang.Object


Constructor Summary
ComponentNameAnnotationProcessor(RuntimeComponent component)
           
 
Method Summary
protected  java.lang.Class<? extends java.lang.annotation.Annotation> getComponentNameAnnotationType()
          Gets componentName annotation type.
 java.lang.Object postProcessAfterInitialization(java.lang.Object bean, java.lang.String beanName)
          This method is used to execute after a bean's initialization callback.
 java.lang.Object postProcessBeforeInitialization(java.lang.Object bean, java.lang.String beanName)
          This method is used to execute before a bean's initialization callback.
protected  void processAnnotation(java.lang.Object bean)
          Processes a beans fields for injection if it has a Reference annotation.
 void setComponentNameAnnotationType(java.lang.Class<? extends java.lang.annotation.Annotation> componentNameAnnotationType)
          Sets componentName annotation type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentNameAnnotationProcessor

public ComponentNameAnnotationProcessor(RuntimeComponent component)
Method Detail

getComponentNameAnnotationType

protected java.lang.Class<? extends java.lang.annotation.Annotation> getComponentNameAnnotationType()
Gets componentName annotation type.


setComponentNameAnnotationType

public void setComponentNameAnnotationType(java.lang.Class<? extends java.lang.annotation.Annotation> componentNameAnnotationType)
Sets componentName annotation type.


postProcessBeforeInitialization

public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
                                                        java.lang.String beanName)
                                                 throws BeansException
This method is used to execute before a bean's initialization callback.

Throws:
BeansException
See Also:
org.springframework.beans.factory.config.BeanPostProcessor#postProcessBeforeInitialization(java.lang.Object, java.lang.String)

postProcessAfterInitialization

public java.lang.Object postProcessAfterInitialization(java.lang.Object bean,
                                                       java.lang.String beanName)
                                                throws BeansException
This method is used to execute after a bean's initialization callback.

Throws:
BeansException
See Also:
org.springframework.beans.factory.config.BeanPostProcessor#postProcessAfterInitialization(java.lang.Object, java.lang.String)

processAnnotation

protected void processAnnotation(java.lang.Object bean)

Processes a beans fields for injection if it has a Reference annotation.