Package io.wcm.caravan.jaxrs.publisher
Interface JaxRsClassesProvider
-
@ConsumerType public interface JaxRsClassesProvider
Allows to register additional root resource, provider andFeature
classes to the JAX-RS runtime.These classes do not have to implement
JaxRsClassesProvider
and should not be OSGI components (as their lifecycle and dependency injection is completely managed by JAX-RS).This allows to implement request-scoped resources with constructor initialization. Since OSGI's dependency injection is not possible for these instances, other singleton
JaxRsClassesProvider
dependencies can be injected with theContext
annotation instead.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Class<?>>
getClasses()
-