Interface JaxRsComponent


  • @ConsumerType
    public interface JaxRsComponent
    Marker interface that is implemented by all JAX-RS services and providers that are also OSGi components.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String PROPERTY_GLOBAL_COMPONENT
      OSGi property name that marks JaxRS components to be registered globally to all JAX-RS applications.
    • Field Detail

      • PROPERTY_GLOBAL_COMPONENT

        static final String PROPERTY_GLOBAL_COMPONENT
        OSGi property name that marks JaxRS components to be registered globally to all JAX-RS applications. The property value has to be set to "true". Such components have to be marked as "serviceFactory" as well to ensure bundle scope.
        See Also:
        Constant Field Values