Annotation Type JaxrsMediaType


@ComponentPropertyType @Retention(CLASS) @Target(TYPE) public @interface JaxrsMediaType
Component Property Type for the osgi.jaxrs.media.type service property.

This annotation can be used on a JAX-RS extension or application to declare the value of the JaxrsWhiteboardConstants.JAX_RS_MEDIA_TYPE service property.

See Also:
  • "Component Property Types"
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Service property identifying the name(s) of media types supported by this service.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Prefix for the property name.
  • Field Details

    • PREFIX_

      static final String PREFIX_
      Prefix for the property name. This value is prepended to each property name.
      See Also:
  • Element Details