Module org.jvnet.hk2.guice.bridge
Class GuiceToHk2JITResolver
java.lang.Object
org.jvnet.hk2.guice.bridge.internal.GuiceToHk2JITResolver
- All Implemented Interfaces:
org.glassfish.hk2.api.JustInTimeInjectionResolver
@Singleton
public class GuiceToHk2JITResolver
extends Object
implements org.glassfish.hk2.api.JustInTimeInjectionResolver
- Author:
- jwells
-
Method Summary
Modifier and TypeMethodDescriptionstatic Class<?>getClassFromType(Type type) Gets the class from the given typebooleanjustInTimeResolution(org.glassfish.hk2.api.Injectee failedInjectionPoint)
-
Method Details
-
getClassFromType
Gets the class from the given type- Parameters:
type- The type to find the class from- Returns:
- The class associated with this type, or null if the class cannot be found
-
justInTimeResolution
public boolean justInTimeResolution(org.glassfish.hk2.api.Injectee failedInjectionPoint) - Specified by:
justInTimeResolutionin interfaceorg.glassfish.hk2.api.JustInTimeInjectionResolver
-