Class RestApiContext.Injectable

  • Enclosing class:
    RestApiContext

    public static class RestApiContext.Injectable
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      com.yahoo.component.ComponentId id  
      java.lang.Object instance  
      com.google.inject.Key<?> key  
    • Constructor Summary

      Constructors 
      Constructor Description
      Injectable​(com.google.inject.Key<?> key, com.yahoo.component.ComponentId id, java.lang.Object instance)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • key

        public final com.google.inject.Key<?> key
      • id

        public final com.yahoo.component.ComponentId id
      • instance

        public final java.lang.Object instance
    • Constructor Detail

      • Injectable

        public Injectable​(com.google.inject.Key<?> key,
                          com.yahoo.component.ComponentId id,
                          java.lang.Object instance)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object