/** * Gets the value of the auth-realm-name property. * * The name of the auth-realm in this config element that represents the * special administrative realm. All authentication (from administraive GUI * and CLI) will be handled by this realm. * * Note: This is deprecated since GlassFish v3 FCS. Use similarly named attribute on admin-service. This will * be used only when the admin-service attribute in missing. * @return String representing the name of auth realm */ @Deprecated @Attribute @NotNull @Pattern(regexp=NAME_REGEX) @ReferenceConstraint.RemoteKey(message="{resourceref.invalid.auth-realm-name}", type=AuthRealm.class) String getAuthRealmName();
if (value instanceof String) { String key = (String) value; ConfigBeanProxy component = habitat.getService(remoteKeyInfo.annotation.type(), key); if (component == null) { result = false; if (remoteKeyInfo.annotation.message().isEmpty()) { disableGlobalMessage = false; } else { cvc.buildConstraintViolationWithTemplate(remoteKeyInfo.annotation.message()) .addNode(Dom.convertName(remoteKeyInfo.method.getName())) .addConstraintViolation();
/** * Gets the value of the ref property. * * A reference to the name of a server defined elsewhere * * @return possible object is * {@link String } */ @Override @Attribute(key=true) @NotNull @Pattern(regexp=NAME_SERVER_REGEX, message="{server.invalid.name}", payload=ServerRef.class) @ReferenceConstraint.RemoteKey(message="{resourceref.invalid.server-ref}", type=Server.class) public String getRef();
/** * Gets the value of the configRef property. * * Points to a named config. Needed for stand-alone servers. If server * instance is part of a cluster, then it points to the cluster config * * @return possible object is * {@link String } */ @Attribute @NotNull @NotTargetKeyword(message="{server.reserved.name}", payload=Server.class) @Pattern(regexp = NAME_SERVER_REGEX) @ReferenceConstraint.RemoteKey(message="{resourceref.invalid.configref}", type=Config.class) String getConfigRef();
/** * Gets the value of the poolName property. * * @return possible object is * {@link String } */ @Attribute @NotNull @Param(name=name) @ReferenceConstraint.RemoteKey(message="{resourceref.invalid.poolname}", type=JdbcConnectionPool.class) String getPoolName();
/** * points to a named config. All server instances in the cluster * will share this config. * * @return a named config name */ @Attribute @NotNull @Pattern(regexp=NAME_SERVER_REGEX) @ReferenceConstraint.RemoteKey(message="{resourceref.invalid.configref}", type=Config.class) String getConfigRef();
/** * Gets the value of the ref property. * * @return possible object is * {@link String } */ @Override @Attribute(key=true) @NotNull @Pattern(regexp=NAME_SERVER_REGEX) @ReferenceConstraint.RemoteKey(message="{resourceref.invalid.cluster-ref}", type=Cluster.class) public String getRef();