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 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(org.glassfish.hk2.api.Injectee failedInjectionPoint)
      Specified by:
      justInTimeResolution in interface org.glassfish.hk2.api.JustInTimeInjectionResolver