Class GuiceToHk2JITResolver

java.lang.Object
org.jvnet.hk2.guice.bridge.internal.GuiceToHk2JITResolver
All Implemented Interfaces:
JustInTimeInjectionResolver

@Singleton public class GuiceToHk2JITResolver extends Object implements JustInTimeInjectionResolver
Author:
jwells
  • Method Details

    • getClassFromType

      public static Class<?> getClassFromType(Type type)
      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(Injectee failedInjectionPoint)
      Specified by:
      justInTimeResolution in interface JustInTimeInjectionResolver