org.springframework.context.annotation
Class CommonAnnotationBeanPostProcessor.EjbRefElement

java.lang.Object
  extended by org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
      extended by org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.LookupElement
          extended by org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.EjbRefElement
Enclosing class:
CommonAnnotationBeanPostProcessor

private class CommonAnnotationBeanPostProcessor.EjbRefElement
extends CommonAnnotationBeanPostProcessor.LookupElement

Class representing injection information about an annotated field or setter method, supporting the @EJB annotation.


Field Summary
private  java.lang.String beanName
           
 
Fields inherited from class org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.LookupElement
isDefaultName, lookupType, mappedName, name
 
Fields inherited from class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
isField, member, pd, skip
 
Constructor Summary
CommonAnnotationBeanPostProcessor.EjbRefElement(java.lang.reflect.Member member, java.beans.PropertyDescriptor pd)
           
 
Method Summary
protected  java.lang.Object getResourceToInject(java.lang.Object target, java.lang.String requestingBeanName)
          Either this or InjectionMetadata.InjectedElement.inject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues) needs to be overridden.
protected  void initAnnotation(java.lang.reflect.AnnotatedElement ae)
           
 
Methods inherited from class org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.LookupElement
getDependencyDescriptor, getLookupType, getName
 
Methods inherited from class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
checkPropertySkipping, checkResourceType, equals, getMember, getResourceType, hashCode, inject, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

beanName

private java.lang.String beanName
Constructor Detail

CommonAnnotationBeanPostProcessor.EjbRefElement

public CommonAnnotationBeanPostProcessor.EjbRefElement(java.lang.reflect.Member member,
                                                       java.beans.PropertyDescriptor pd)
Method Detail

initAnnotation

protected void initAnnotation(java.lang.reflect.AnnotatedElement ae)
Specified by:
initAnnotation in class CommonAnnotationBeanPostProcessor.LookupElement

getResourceToInject

protected java.lang.Object getResourceToInject(java.lang.Object target,
                                               java.lang.String requestingBeanName)
Description copied from class: InjectionMetadata.InjectedElement
Either this or InjectionMetadata.InjectedElement.inject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues) needs to be overridden.

Overrides:
getResourceToInject in class InjectionMetadata.InjectedElement