Class EmbedderConfig

java.lang.Object
com.yahoo.vespa.model.container.xml.embedder.EmbedderConfig

public class EmbedderConfig extends Object
Translates config in services.xml of the form <embedder id="..." class="..." bundle="..." def="..."> <!-- options --> </embedder> to component configuration of the form <component id="..." class="..." bundle="..."> <config name=def> <!-- options --> </config> </component> with some added interpretations based on recognizing the class.
Author:
lesters
  • Constructor Details

    • EmbedderConfig

      public EmbedderConfig()
  • Method Details

    • transform

      public static Element transform(DeployState deployState, Element embedderSpec)
      Transforms the <embedder ...> element to component configuration.
      Parameters:
      deployState - the deploy state - as config generation can depend on context
      embedderSpec - the XML element containing the <embedder ...>
      Returns:
      a new XML element containting the <component ...> configuration