Class PerLocatorUtilities

java.lang.Object
org.jvnet.hk2.internal.PerLocatorUtilities

public class PerLocatorUtilities extends Object
These utilities are per service locator. Another service locator may have a different view of the caches stored here
Author:
jwells
  • Method Details

    • getAutoAnalyzerName

      public String getAutoAnalyzerName(Class<?> c)
      Gets the analyzer name from the Service annotation
      Parameters:
      c - The class to get the analyzer name from
      Returns:
      The name of the analyzer (null for default)
    • getInjectionResolver

      public org.glassfish.hk2.api.InjectionResolver<?> getInjectionResolver(ServiceLocatorImpl locator, org.glassfish.hk2.api.Injectee injectee) throws IllegalStateException
      Returns an injection resolver for the injectee
      Parameters:
      locator - The locator to use when finding the resolver
      injectee - Injectee from which the annotation should be extracted
      Returns:
      Injection resolver used to resolve the injection for the injectee
      Throws:
      IllegalStateException - If we could not find a valid resolver
    • releaseCaches

      public void releaseCaches()
    • shutdown

      public void shutdown()
    • getProxyUtilities

      public ProxyUtilities getProxyUtilities()