Class GuiceNode


  • public final class GuiceNode
    extends Node
    Author:
    Tony Vaagenes, gjoranv, ollivir
    • Constructor Detail

      • GuiceNode

        public GuiceNode​(java.lang.Object myInstance,
                         java.lang.annotation.Annotation annotation)
    • Method Detail

      • configKeys

        public java.util.Set<com.yahoo.vespa.config.ConfigKey<com.yahoo.config.ConfigInstance>> configKeys()
        Specified by:
        configKeys in class Node
      • instanceKey

        public com.google.inject.Key<?> instanceKey()
        Specified by:
        instanceKey in class Node
      • instanceType

        public java.lang.Class<?> instanceType()
        Specified by:
        instanceType in class Node
      • componentType

        public java.lang.Class<?> componentType()
        Specified by:
        componentType in class Node
      • usedComponents

        public java.util.List<Node> usedComponents()
        Description copied from class: Node
        The components actually used by this node. Consist of a subset of the injected nodes + subset of the global nodes.
        Specified by:
        usedComponents in class Node
      • newInstance

        protected java.lang.Object newInstance()
        Specified by:
        newInstance in class Node
      • inject

        public void inject​(Node component)
        Overrides:
        inject in class Node
      • label

        public java.lang.String label()
        Specified by:
        label in class Node