@Singleton public class AutowiredInjectResolver extends Object implements InjectionResolver<org.springframework.beans.factory.annotation.Autowired>
Autowired annotation injection.| Constructor and Description |
|---|
AutowiredInjectResolver(org.springframework.context.ApplicationContext ctx)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Class<org.springframework.beans.factory.annotation.Autowired> |
getAnnotation() |
boolean |
isConstructorParameterIndicator() |
boolean |
isMethodParameterIndicator() |
Object |
resolve(Injectee injectee) |
public AutowiredInjectResolver(org.springframework.context.ApplicationContext ctx)
ctx - Spring application context.public Object resolve(Injectee injectee)
resolve in interface InjectionResolver<org.springframework.beans.factory.annotation.Autowired>public boolean isConstructorParameterIndicator()
isConstructorParameterIndicator in interface InjectionResolver<org.springframework.beans.factory.annotation.Autowired>public boolean isMethodParameterIndicator()
isMethodParameterIndicator in interface InjectionResolver<org.springframework.beans.factory.annotation.Autowired>public Class<org.springframework.beans.factory.annotation.Autowired> getAnnotation()
getAnnotation in interface InjectionResolver<org.springframework.beans.factory.annotation.Autowired>Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.