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

io.deephaven.server.plugin.js.JsPluginNoopConsumerModule Maven / Gradle / Ivy

The newest version!
//
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending
//
package io.deephaven.server.plugin.js;

import dagger.Module;
import dagger.Provides;
import io.deephaven.plugin.js.JsPluginRegistration;

/**
 * Provides a no-op {@link JsPluginRegistration} for servers that don't host JS content.
 */
@Module
public interface JsPluginNoopConsumerModule {

    @Provides
    static JsPluginRegistration providesNoopJsPluginConsumer() {
        return jsPlugin -> {
        };
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy