Class DomainPortValidator


  • public class DomainPortValidator
    extends Object
    Checks that port is free and that the current user has permission to use it
    • Method Detail

      • validateAndSetPorts

        public void validateAndSetPorts()
                                 throws DomainException
        Validates 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.