Search in sources :

Example 1 with ApplicationHolderSingleton

use of ee.jakarta.tck.ws.rs.ee.rs.core.application.ApplicationHolderSingleton in project jaxrs-api by eclipse-ee4j.

the class TSAppConfig method getSingletons.

@Override
public Set<Object> getSingletons() {
    Set<Object> singletons = new HashSet<Object>();
    singletons.add(EnumProvider.CTS);
    singletons.add(new ReadableWritableEntity(""));
    singletons.add(new ApplicationHolderSingleton(this));
    return singletons;
}
Also used : ReadableWritableEntity(ee.jakarta.tck.ws.rs.ee.rs.ext.messagebodyreaderwriter.ReadableWritableEntity) ApplicationHolderSingleton(ee.jakarta.tck.ws.rs.ee.rs.core.application.ApplicationHolderSingleton) HashSet(java.util.HashSet)

Aggregations

ApplicationHolderSingleton (ee.jakarta.tck.ws.rs.ee.rs.core.application.ApplicationHolderSingleton)1 ReadableWritableEntity (ee.jakarta.tck.ws.rs.ee.rs.ext.messagebodyreaderwriter.ReadableWritableEntity)1 HashSet (java.util.HashSet)1