Class ContextInjectionResolverImpl.CacheKey

java.lang.Object
org.glassfish.jersey.inject.hk2.ContextInjectionResolverImpl.CacheKey
Enclosing class:
ContextInjectionResolverImpl

private static class ContextInjectionResolverImpl.CacheKey extends Object
Key dedicated for internal cache mechanism because two different Injectee Hk2 implementations comes from Jersey side and HK2 side injection resolver.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
     
    private final org.glassfish.hk2.api.Injectee
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    CacheKey(org.glassfish.hk2.api.Injectee injectee)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    private org.glassfish.hk2.api.Injectee
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • injectee

      private final org.glassfish.hk2.api.Injectee injectee
    • hash

      private final int hash
  • Constructor Details

    • CacheKey

      private CacheKey(org.glassfish.hk2.api.Injectee injectee)
  • Method Details

    • getInjectee

      private org.glassfish.hk2.api.Injectee getInjectee()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object