Class AutowiredInjectResolver
java.lang.Object
org.glassfish.jersey.server.spring.AutowiredInjectResolver
- All Implemented Interfaces:
InjectionResolver<org.springframework.beans.factory.annotation.Autowired>
@Singleton
public class AutowiredInjectResolver
extends Object
implements InjectionResolver<org.springframework.beans.factory.annotation.Autowired>
HK2 injection resolver for Spring framework
Autowired annotation injection.- Author:
- Marko Asplund (marko.asplund at yahoo.com), Vetle Leinonen-Roeim (vetle at roeim.net)
-
Constructor Summary
ConstructorsConstructorDescriptionAutowiredInjectResolver(org.springframework.context.ApplicationContext ctx) Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionClass<org.springframework.beans.factory.annotation.Autowired>booleanboolean
-
Constructor Details
-
AutowiredInjectResolver
public AutowiredInjectResolver(org.springframework.context.ApplicationContext ctx) Create a new instance.- Parameters:
ctx- Spring application context.
-
-
Method Details
-
resolve
- Specified by:
resolvein interfaceInjectionResolver<org.springframework.beans.factory.annotation.Autowired>
-
isConstructorParameterIndicator
public boolean isConstructorParameterIndicator()- Specified by:
isConstructorParameterIndicatorin interfaceInjectionResolver<org.springframework.beans.factory.annotation.Autowired>
-
isMethodParameterIndicator
public boolean isMethodParameterIndicator()- Specified by:
isMethodParameterIndicatorin interfaceInjectionResolver<org.springframework.beans.factory.annotation.Autowired>
-
getAnnotation
- Specified by:
getAnnotationin interfaceInjectionResolver<org.springframework.beans.factory.annotation.Autowired>
-