All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.vespa.model.container.http.ssl.SslProvider Maven / Gradle / Ivy

There is a newer version: 8.409.18
Show newest version
// 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.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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy