use of io.crnk.rs.internal.JaxrsModule in project crnk-framework by crnk-project.
the class AbstractMetaTest method setup.
@Before
public void setup() {
boot = new CrnkBoot();
boot.addModule(new JaxrsModule(null));
boot.setServiceUrlProvider(new ConstantServiceUrlProvider("http://localhost"));
boot.addModule(new TestModule());
boot.addModule(new io.crnk.test.mock.dynamic.DynamicModule());
configure();
boot.boot();
resourceProvider = new ResourceMetaProvider();
lookup = new MetaLookup();
lookup.addProvider(resourceProvider);
lookup.setModuleContext(boot.getModuleRegistry().getContext());
lookup.initialize();
}
Aggregations