Top Fields Constructors Methods
org.jvnet.hk2.internal

public Class ThreeThirtyResolver

extends Object
implements InjectionResolver<Inject>
Class Inheritance
All Implemented Interfaces
org.glassfish.hk2.api.InjectionResolver
Annotations
@Named:SystemInjectResolver
Imports
jakarta.inject.Inject, .Named, org.glassfish.hk2.api.ActiveDescriptor, .Injectee, .InjectionResolver, .MultiException, .ServiceHandle, .UnsatisfiedDependencyException

Author
jwells

Field Summary

Modifier and TypeField and Description
private final ServiceLocatorImpl

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public boolean
isConstructorParameterIndicator()

Implements org.glassfish.hk2.api.InjectionResolver.isConstructorParameterIndicator.

This method should return true if the annotation that indicates that this is an injection point can appear in the parameter list of a constructor.

public boolean
isMethodParameterIndicator()

Implements org.glassfish.hk2.api.InjectionResolver.isMethodParameterIndicator.

This method should return true if the annotation that indicates that this is an injection point can appear in the parameter list of a method.

public Object
resolve(Injectee injectee, ServiceHandle<?> root)

Implements org.glassfish.hk2.api.InjectionResolver.resolve.

This method will return the object that should be injected into the given injection point.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

locatorback to summary
private final ServiceLocatorImpl locator

Constructor Detail

ThreeThirtyResolverback to summary
pack-priv ThreeThirtyResolver(ServiceLocatorImpl locator)

Method Detail

isConstructorParameterIndicatorback to summary
public boolean isConstructorParameterIndicator()

Implements org.glassfish.hk2.api.InjectionResolver.isConstructorParameterIndicator.

Doc from org.glassfish.hk2.api.InjectionResolver.isConstructorParameterIndicator.

This method should return true if the annotation that indicates that this is an injection point can appear in the parameter list of a constructor.

Annotations
@Override
isMethodParameterIndicatorback to summary
public boolean isMethodParameterIndicator()

Implements org.glassfish.hk2.api.InjectionResolver.isMethodParameterIndicator.

Doc from org.glassfish.hk2.api.InjectionResolver.isMethodParameterIndicator.

This method should return true if the annotation that indicates that this is an injection point can appear in the parameter list of a method.

Annotations
@Override
resolveback to summary
public Object resolve(Injectee injectee, ServiceHandle<?> root)

Implements org.glassfish.hk2.api.InjectionResolver.resolve.

Doc from org.glassfish.hk2.api.InjectionResolver.resolve.

This method will return the object that should be injected into the given injection point. It is the responsiblity of the implementation to ensure that the object returned can be safely injected into the injection point.

This method should not do the injection themselves

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override