Annotation Type ReferenceConstraint
-
@Retention(RUNTIME) @Target(TYPE) @Documented @Constraint(validatedBy=ReferenceValidator.class) public @interface ReferenceConstraint
AnnotatedConfigBeanProxyclass contains at least oneStringfield, which value must point to key attribute of some other existingConfigBeanProxyinstance.
UseReferenceConstraint.RemoteKeyannotation on appropriate getters to define such fields.
This constraint is supported forConfigBeanProxyonly.- Author:
- Martin Mares
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description booleanskipDuringCreationIn GlassFish a lot of configurations are made in batch and its references could not be fulfilled during creation process.
-