public abstract class ChainedComponent
extends com.yahoo.component.AbstractComponent
Modifier | Constructor and Description |
---|---|
protected |
ChainedComponent() |
|
ChainedComponent(com.yahoo.component.ComponentId id) |
Modifier and Type | Method and Description |
---|---|
protected Dependencies |
getAnnotatedDependencies(Class<? extends Annotation> providesClass,
Class<? extends Annotation> beforeClass,
Class<? extends Annotation> afterClass) |
protected Dependencies |
getDefaultAnnotatedDependencies()
This method is here only for legacy reasons, do not override.
|
Dependencies |
getDependencies()
Returns the configured and declared dependencies of this chainedcomponent
|
void |
initDependencies(Dependencies dependencies)
Called by the container to assign the full set of dependencies to this class (configured and declared).
|
public ChainedComponent(com.yahoo.component.ComponentId id)
protected ChainedComponent()
public void initDependencies(Dependencies dependencies)
dependencies
- The configured dependencies, that this method will merge with annotated dependencies.public Dependencies getDependencies()
protected Dependencies getDefaultAnnotatedDependencies()
protected Dependencies getAnnotatedDependencies(Class<? extends Annotation> providesClass, Class<? extends Annotation> beforeClass, Class<? extends Annotation> afterClass)
providesClass
- The annotation class representing 'provides'.beforeClass
- The annotation class representing 'before'.afterClass
- The annotation class representing 'after'.Dependencies
created from the annotations given in this component's class.Copyright © 2018. All rights reserved.