Annotation Type PropertiesClass
-
@Target(TYPE) @Retention(RUNTIME) public @interface PropertiesClass
Marker annotation for property classes. All staticString
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 staticString
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.
- See Also:
Property
,PropertyAlias