@Retention(CLASS) @Target(TYPE) @RequireJaxrsWhiteboard @Requirement(namespace="osgi.service", filter="(osgi.jaxrs.media.type=application/json)", resolution=OPTIONAL, effective="active") @ComponentPropertyType public @interface JSONRequired
Component Property Type for requiring JSON media type support using the JaxrsWhiteboardConstants.JAX_RS_MEDIA_TYPE service property.

This annotation can be used on a JAX-RS resource to declare require that JSON support is available before the resource becomes active. It also adds an optional Requirement for a service providing this media type to aid with provisioning.

????:
  • "Component Property Types"
  • ??????

    ????
    ??????
    ????
    ??
    Provides an extension selection filter for an extension supporting the JSON media type
  • ????

    ??
    ??????
    ??
    ??
    static final String
    A filter requiring an osgi.jaxrs.media.type of application/json
  • ??????

    • FILTER

      static final String FILTER
      A filter requiring an osgi.jaxrs.media.type of application/json
      ????:
  • ??????

    • osgi_jaxrs_extension_select

      String osgi_jaxrs_extension_select
      Provides an extension selection filter for an extension supporting the JSON media type
      ??:
      A filter requiring an osgi.jaxrs.media.type of application/json
      ???:
      "(osgi.jaxrs.media.type=application/json)"