Annotation Interface PropertiesClass


@Target(TYPE) @Retention(RUNTIME) public @interface PropertiesClass
Marker annotation for property classes. All static String fields in a class annotated by this annotation are considered to represent property names recognized by Jersey runtime or one of the Jersey extension modules.

Putting this annotation on a class has the same effect as putting the Property annotation on each individual static String field in the class.

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.

Author:
Marek Potociar
See Also: