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

com.nhl.link.rest.runtime.adapter.LinkRestAdapter Maven / Gradle / Ivy

package com.nhl.link.rest.runtime.adapter;

import org.apache.cayenne.di.Binder;

import javax.ws.rs.core.Feature;
import java.util.Collection;

/**
 * Defines interface of an "adapter" that customizes default LinkRest runtime
 * for a specific flavor of REST interactions. Adapter interface is very generic
 * and allows to customize all aspects of LinkRest accessible via DI.
 *
 * @since 1.3
 * @deprecated since 2.10 in favor of {@link com.nhl.link.rest.LrFeatureProvider} and
 * {@link com.nhl.link.rest.LrModuleProvider}. Either can be registered with
 * {@link com.nhl.link.rest.runtime.LinkRestBuilder} explicitly or used to implemented auto-loadable extensions.
 */
@Deprecated
public interface LinkRestAdapter {

    void contributeToRuntime(Binder binder);

    void contributeToJaxRs(Collection features);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy