Class DASUtils
java.lang.Object
com.sun.enterprise.admin.cli.remote.DASUtils
Domain Admin Server utility method.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanpingDASQuietly(ProgramOptions programOpts, Environment env) See if DAS is alive.static DASUtils.ErrorpingDASWithAuth(ProgramOptions programOpts, Environment env) See if DAS is alive, but insist that athentication is correct.
-
Method Details
-
pingDASQuietly
See if DAS is alive. Do not print out the results of the version command from the server.- Returns:
- true if DAS can be reached and can handle commands, otherwise false.
-
pingDASWithAuth
public static DASUtils.Error pingDASWithAuth(ProgramOptions programOpts, Environment env) throws org.glassfish.api.admin.CommandException See if DAS is alive, but insist that athentication is correct. Do not print out the results of the version command from the server.- Returns:
- Error code indicating status
- Throws:
org.glassfish.api.admin.CommandException
-