@Singleton public class AutowiredInjectResolver extends Object implements org.glassfish.hk2.api.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 |
|---|---|
boolean |
isConstructorParameterIndicator() |
boolean |
isMethodParameterIndicator() |
Object |
resolve(org.glassfish.hk2.api.Injectee injectee,
org.glassfish.hk2.api.ServiceHandle<?> root) |
public AutowiredInjectResolver(org.springframework.context.ApplicationContext ctx)
ctx - Spring application context.public Object resolve(org.glassfish.hk2.api.Injectee injectee, org.glassfish.hk2.api.ServiceHandle<?> root)
resolve in interface org.glassfish.hk2.api.InjectionResolver<org.springframework.beans.factory.annotation.Autowired>public boolean isConstructorParameterIndicator()
isConstructorParameterIndicator in interface org.glassfish.hk2.api.InjectionResolver<org.springframework.beans.factory.annotation.Autowired>public boolean isMethodParameterIndicator()
isMethodParameterIndicator in interface org.glassfish.hk2.api.InjectionResolver<org.springframework.beans.factory.annotation.Autowired>Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.