@Target(value=TYPE) @Retention(value=RUNTIME) public @interface PropertiesClass
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.
Property
,
PropertyAlias
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.