org.springframework.context.annotation
Class CommonAnnotationBeanPostProcessor.EjbRefElement
java.lang.Object
org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.LookupElement
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
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
beanName
private java.lang.String beanName
CommonAnnotationBeanPostProcessor.EjbRefElement
public CommonAnnotationBeanPostProcessor.EjbRefElement(java.lang.reflect.Member member,
java.beans.PropertyDescriptor pd)
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