|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.implementation.spring.processor.ReferenceAnnotationProcessor
public class ReferenceAnnotationProcessor
| Constructor Summary | |
|---|---|
ReferenceAnnotationProcessor(RuntimeComponent component)
|
|
| Method Summary | |
|---|---|
protected java.lang.Class<? extends java.lang.annotation.Annotation> |
getReferenceAnnotationType()
Gets referece annotation type. |
void |
injectReference(java.lang.Object bean,
java.beans.PropertyDescriptor pd,
java.lang.String name)
Processes a property descriptor to inject a service. |
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 |
setReferenceAnnotationType(java.lang.Class<? extends java.lang.annotation.Annotation> referenceAnnotationType)
Sets referece annotation type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReferenceAnnotationProcessor(RuntimeComponent component)
| Method Detail |
|---|
protected java.lang.Class<? extends java.lang.annotation.Annotation> getReferenceAnnotationType()
public void setReferenceAnnotationType(java.lang.Class<? extends java.lang.annotation.Annotation> referenceAnnotationType)
public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName)
throws BeansException
BeansExceptionorg.springframework.beans.factory.config.BeanPostProcessor#postProcessBeforeInitialization(java.lang.Object, java.lang.String)
public java.lang.Object postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName)
throws BeansException
BeansExceptionorg.springframework.beans.factory.config.BeanPostProcessor#postProcessAfterInitialization(java.lang.Object, java.lang.String)protected void processAnnotation(java.lang.Object bean)
Processes a beans fields for injection if it has a Reference annotation.
public void injectReference(java.lang.Object bean,
java.beans.PropertyDescriptor pd,
java.lang.String name)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||