com.sun.enterprise.admin.servermgmt
Class RepositoryNameValidator
java.lang.Object
com.sun.enterprise.admin.servermgmt.Validator
com.sun.enterprise.admin.servermgmt.StringValidator
com.sun.enterprise.admin.servermgmt.RepositoryNameValidator
public class RepositoryNameValidator
- extends StringValidator
Validates the repository name. A repository name must be a
- valid file name,
- valid xml CDATA value &
- valid javax.management.ObjectName property value.
| Methods inherited from class com.sun.enterprise.admin.servermgmt.Validator |
getName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryNameValidator
public RepositoryNameValidator(String name)
- Constructs new RepositoryNameValidator object.
- Parameters:
name -
validate
public void validate(Object str)
throws InvalidConfigException
- Validates the given value for the given entry. This method first invokes
its superclass's validate method and then performs additional validations.
- Overrides:
validate in class StringValidator
- Throws:
InvalidConfigException
checkValidName
public void checkValidName(String name)
throws InvalidConfigException
- Throws:
InvalidConfigException
checkValidXmlToken
public void checkValidXmlToken(String name)
throws InvalidConfigException
- Implementation copied from
com.sun.enterprise.admin.verifier.tests.StaticTest
- Throws:
InvalidConfigException
checkValidObjectNameToken
public void checkValidObjectNameToken(String name)
throws InvalidConfigException
- Throws:
InvalidConfigException
Copyright © 2012 GlassFish Community. All Rights Reserved.