blob: f729d69ae53b0eaa3bd351e3bda71aa04937441f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.container.http.ssl;
import com.yahoo.component.ComponentId;
import com.yahoo.container.bundle.BundleInstantiationSpecification;
import com.yahoo.jdisc.http.ConnectorConfig;
import com.yahoo.osgi.provider.model.ComponentModel;
import com.yahoo.vespa.model.container.component.SimpleComponent;
import static com.yahoo.component.ComponentSpecification.fromString;
/**
* @author bjorncs
*/
public abstract class SslProvider extends SimpleComponent {
public SslProvider(String componentIdPrefix, String serverName, String className, String bundleName) {
super(new ComponentModel(
new BundleInstantiationSpecification(new ComponentId(componentIdPrefix+serverName),
fromString(className),
fromString(bundleName))));
}
public abstract void amendConnectorConfig(ConnectorConfig.Builder builder);
}
|