Class EmbedderConfig
java.lang.Object
com.yahoo.vespa.model.container.xml.embedder.EmbedderConfig
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Element
transform
(DeployState deployState, Element embedderSpec) Transforms the <embedder ...> element to component configuration.
-
Constructor Details
-
EmbedderConfig
public EmbedderConfig()
-
-
Method Details
-
transform
Transforms the <embedder ...> element to component configuration.- Parameters:
deployState
- the deploy state - as config generation can depend on contextembedderSpec
- the XML element containing the <embedder ...>- Returns:
- a new XML element containting the <component ...> configuration
-