com.sun.enterprise.config.serverbeans.customvalidators
Annotation Type NotDuplicateTargetName
@Target(value=TYPE)
@Retention(value=RUNTIME)
@Constraint(validatedBy=NotDuplicateTargetNameValidator.class)
public @interface NotDuplicateTargetName
NotDuplicateTargetName class-level constraint to verify that the name
attribute is not already in use by another target (cluster, instance,
node, config).
- Author:
- Joe Di Pol
message
public abstract String message
- Default:
- "Name is already used by another instance, cluster, config or node"
groups
public abstract Class<?>[] groups
- Default:
- {}
payload
public abstract Class<? extends javax.validation.Payload>[] payload
- Default:
- {}
Copyright © 2012 GlassFish Community. All Rights Reserved.