Search in sources :

Example 1 with MyApplication

use of org.glassfish.jersey.examples.feedcombiner.MyApplication in project jersey by jersey.

the class CombinedFeedControllerTest method configure.

@Override
protected Application configure() {
    enable(TestProperties.LOG_TRAFFIC);
    enable(TestProperties.DUMP_ENTITY);
    datastore = new ReadWriteLockDataStore();
    return new MyApplication(datastore, false);
}
Also used : MyApplication(org.glassfish.jersey.examples.feedcombiner.MyApplication) ReadWriteLockDataStore(org.glassfish.jersey.examples.feedcombiner.store.ReadWriteLockDataStore)

Example 2 with MyApplication

use of org.glassfish.jersey.examples.feedcombiner.MyApplication in project jersey by jersey.

the class CombinedFeedResourceTest method configure.

@Override
protected Application configure() {
    enable(TestProperties.LOG_TRAFFIC);
    enable(TestProperties.DUMP_ENTITY);
    datastore = new ReadWriteLockDataStore();
    return new MyApplication(datastore, false);
}
Also used : MyApplication(org.glassfish.jersey.examples.feedcombiner.MyApplication) ReadWriteLockDataStore(org.glassfish.jersey.examples.feedcombiner.store.ReadWriteLockDataStore)

Aggregations

MyApplication (org.glassfish.jersey.examples.feedcombiner.MyApplication)2 ReadWriteLockDataStore (org.glassfish.jersey.examples.feedcombiner.store.ReadWriteLockDataStore)2