Annotation Type Property


  • @Target(FIELD)
    @Retention(RUNTIME)
    public @interface Property
    Marker annotation for static fields that represent property names. This annotation is put on static fields (typically in concrete JAX-RS Feature classes) to mark a recognized property name.

    Jersey code should not contain overlapping nor duplicate property names. This is checked in a dedicated (@code org.glassfish.jersey.tests.integration.propertycheck.PropertyOverlappingCheckTest) unit test.

    See Also:
    PropertiesClass, PropertyAlias