Class PortValidator
- java.lang.Object
-
- com.sun.enterprise.admin.servermgmt.Validator
-
- com.sun.enterprise.admin.servermgmt.PortValidator
-
public class PortValidator extends Validator
This validator ensures that the specified port is not in use.- Author:
- kebbs
-
-
Constructor Summary
Constructors Constructor Description PortValidator(String name)Creates a new instance of PortValidator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(Object obj)Validates the given Port.
-
-
-
Constructor Detail
-
PortValidator
public PortValidator(String name)
Creates a new instance of PortValidator
-
-
Method Detail
-
validate
public void validate(Object obj) throws InvalidConfigException
Validates the given Port.- Overrides:
validatein classValidator- Parameters:
str- Must be the absolute path of the File that will be validated.- Throws:
InvalidConfigException
-
-