Class DomainPortValidator
- java.lang.Object
-
- com.sun.enterprise.admin.servermgmt.domain.DomainPortValidator
-
public class DomainPortValidator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intPORT_MAX_VAL
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidateAndSetPorts()Validate's the port.
-
-
-
Field Detail
-
PORT_MAX_VAL
public static final int PORT_MAX_VAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
validateAndSetPorts
public void validateAndSetPorts() throws DomainExceptionValidate's the port. If custom port value is not given then it retrieves its default value. If the port is already been occupied then it picks randomly available port value.- Throws:
DomainException- If any exception occurs in validation.
-
-