com.sun.enterprise.admin.servermgmt
Class PortValidator

java.lang.Object
  extended by com.sun.enterprise.admin.servermgmt.Validator
      extended by 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
PortValidator(String name)
          Creates a new instance of PortValidator
 
Method Summary
 void validate(Object obj)
          Validates the given Port.
 
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
 

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:
validate in class Validator
Parameters:
str - Must be the absolute path of the File that will be validated.
Throws:
InvalidConfigException


Copyright © 2012 GlassFish Community. All Rights Reserved.