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

io.agrest.sencha.SenchaFeatureProvider Maven / Gradle / Ivy

There is a newer version: 4.10
Show newest version
package io.agrest.sencha;

import io.agrest.AgFeatureProvider;
import io.agrest.sencha.provider.SenchaDeletePayloadParser;
import org.apache.cayenne.di.Injector;

import javax.ws.rs.core.Feature;

/**
 * @since 2.10
 */
public class SenchaFeatureProvider implements AgFeatureProvider {

    @Override
    public Feature feature(Injector injector) {
        return context -> {
            context.register(SenchaDeletePayloadParser.class);
            return true;
        };
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy