Class Component<CCHILD extends AnyConfigProducer,MODEL extends com.yahoo.osgi.provider.model.ComponentModel>
java.lang.Object
com.yahoo.config.model.producer.AnyConfigProducer
com.yahoo.config.model.producer.TreeConfigProducer<CCHILD>
com.yahoo.vespa.model.container.component.Component<CCHILD,MODEL>
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer,ConfigProducer,Serializable,Comparable<Component<?,?>>
- Direct Known Subclasses:
ChainedComponent,DispatcherComponent,Handler,RankProfilesEvaluatorComponent,SimpleComponent
public class Component<CCHILD extends AnyConfigProducer,MODEL extends com.yahoo.osgi.provider.model.ComponentModel>
extends TreeConfigProducer<CCHILD>
implements Comparable<Component<?,?>>
- Author:
- gjoranv, Tony Vaagenes
- See Also:
-
Field Summary
FieldsFields inherited from class com.yahoo.config.model.producer.AnyConfigProducer
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(CCHILD child) intstatic Component<?,?> fromClassAndBundle(Class<?> clazz, String bundle) Returns a component that uses its class name as id.com.yahoo.component.ComponentSpecificationcom.yahoo.component.ComponentIdcom.yahoo.component.ComponentIdFor testing onlyvoidvoidinjectForName(String name, Component component) toString()Methods inherited from class com.yahoo.config.model.producer.TreeConfigProducer
addChild, addDescendantService, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getDescendantServices, removeChild, validateMethods inherited from class com.yahoo.config.model.producer.AnyConfigProducer
addConfigId, addUserConfig, cascadeConfig, currentConfigId, findInheritedClassLoader, getConfigId, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, remove, setParent, setUserConfigs, stateIsHostedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.yahoo.vespa.model.ConfigProducer
dump
-
Field Details
-
model
-
-
Constructor Details
-
Component
-
-
Method Details
-
fromClassAndBundle
Returns a component that uses its class name as id. -
getGlobalComponentId
public com.yahoo.component.ComponentId getGlobalComponentId() -
getComponentId
public com.yahoo.component.ComponentId getComponentId() -
getClassId
public com.yahoo.component.ComponentSpecification getClassId() -
inject
-
injectForName
-
addComponent
-
getInjectedComponentIds
For testing only -
compareTo
- Specified by:
compareToin interfaceComparable<CCHILD extends AnyConfigProducer>
-
toString
-