Class ChainedComponent

java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.component.chain.ChainedComponent
All Implemented Interfaces:
Chainable, com.yahoo.component.Component, com.yahoo.component.Deconstructable, Comparable<com.yahoo.component.Component>
Direct Known Subclasses:
Processor

public abstract class ChainedComponent extends com.yahoo.component.AbstractComponent implements Chainable
Component with dependencies.
Author:
Tony Vaagenes
  • Field Summary

    Fields inherited from class com.yahoo.component.AbstractComponent

    isDeconstructable
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
     
    ChainedComponent(com.yahoo.component.ComponentId id)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the configured and declared dependencies of this chainedcomponent
    void
    Called by the container to assign the full set of dependencies to this class (configured and declared).

    Methods inherited from class com.yahoo.component.AbstractComponent

    clone, compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.yahoo.component.chain.model.Chainable

    getAnnotatedDependencies
  • Constructor Details

    • ChainedComponent

      public ChainedComponent(com.yahoo.component.ComponentId id)
    • ChainedComponent

      protected ChainedComponent()
  • Method Details

    • initDependencies

      public void initDependencies(Dependencies dependencies)
      Called by the container to assign the full set of dependencies to this class (configured and declared). This is called once before this is started.
      Parameters:
      dependencies - The configured dependencies, that this method will merge with annotated dependencies.
    • getDependencies

      public Dependencies getDependencies()
      Returns the configured and declared dependencies of this chainedcomponent