blob: 30d94e85593ec4653a82bf619f6eedab536627a8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.container.component;
import com.yahoo.osgi.provider.model.ComponentModel;
import org.w3c.dom.Element;
/**
* @author bjorncs
*/
abstract class TypedComponent extends SimpleComponent {
private final Element xml;
protected TypedComponent(String className, String bundle, Element xml) {
super(new ComponentModel(xml.getAttribute("id"), className, bundle));
this.xml = xml;
}
}
|