io.agrest.sencha.SenchaFeatureProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of agrest-sencha Show documentation
Show all versions of agrest-sencha Show documentation
Sencha/ExtJS Integration for Agrest
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;
};
}
}