blob: 522c78f2f2533b233b59292722b07e4c9009f8d8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Yahoo. 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;
}
}
|