Tabnine Logo
ChainedComponentModel.getComponentId
Code IndexAdd Tabnine to your IDE (free)

How to use
getComponentId
method
in
com.yahoo.component.chain.model.ChainedComponentModel

Best Java code snippets using com.yahoo.component.chain.model.ChainedComponentModel.getComponentId (Showing top 7 results out of 315)

origin: com.yahoo.vespa/container-search

private static boolean allAdded(Collection<ChainedComponentModel> searcherModels, Set<ComponentId> componentIds) {
  for (ChainedComponentModel model : searcherModels) {
    if (!componentIds.add(model.getComponentId()))
      return false;
  }
  return true;
}
origin: com.yahoo.vespa/config-model

@Override
public ComponentId getGlobalComponentId() {
  return model.getComponentId().nestInNamespace(namespace());
}
origin: com.yahoo.vespa/chain

public static ChainsModel buildFromConfig(ChainsConfig chainsConfig) {
  ChainsModel model = createChainsModel(chainsConfig);
   for (ChainsConfig.Components component : chainsConfig.components()) {
     ChainedComponentModel componentModel = createChainedComponentModel(component);
     model.register(componentModel.getComponentId(), componentModel);
   }
   return model;
}
origin: com.yahoo.vespa/chain

private static <COMPONENT extends ChainedComponent> void initDependencies(
    ChainsModel model,
    ComponentRegistry<COMPONENT> allComponents) {
  for (ChainedComponentModel componentModel : model.allComponents()) {
    COMPONENT component = getComponentOrThrow(allComponents, componentModel.getComponentId().toSpecification());
    component.initDependencies(componentModel.dependencies);
  }
}
origin: com.yahoo.vespa/config-model

public FilterConfigProvider(ChainedComponentModel filterModel) {
  super(new ComponentModel(
      new BundleInstantiationSpecification(
          configProviderId(filterModel.getComponentId()),
          filterConfigProviderClass,
          null)));
  this.filterModel = filterModel;
}
origin: com.yahoo.vespa/config-model

@Override
public void getConfig(HttpFilterConfig.Builder builder) {
  builder.filterName(filterModel.getComponentId().stringValue())
      .filterClass(filterModel.getClassId().stringValue());
  for (Map.Entry<String, String> param : configMap.entrySet()) {
    builder.param(
        new Param.Builder()
            .name(param.getKey())
            .value(param.getValue()));
  }
}
origin: com.yahoo.vespa/chain

public void register(ComponentId globalComponentId, ChainedComponentModel componentModel) {
  assert (componentModel.getComponentId().withoutNamespace().equals(
      globalComponentId.withoutNamespace()));
  componentModels.register(globalComponentId, ComponentAdaptor.create(globalComponentId, componentModel));
}
com.yahoo.component.chain.modelChainedComponentModelgetComponentId

Popular methods of ChainedComponentModel

  • <init>
  • getClassId

Popular in Java

  • Finding current android device location
  • getSystemService (Context)
  • setScale (BigDecimal)
  • startActivity (Activity)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now