|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.util.cluster.windows.process.WindowsRemoteScripter
com.sun.enterprise.util.cluster.windows.process.WindowsRemoteAsadmin
public class WindowsRemoteAsadmin
Wrapper for calling asadmin -- since it is done all the time, this convenience class was created
| Constructor Summary | |
|---|---|
WindowsRemoteAsadmin(java.lang.String remoteInstallRoot,
WindowsCredentials bonafides)
|
|
| Method Summary | |
|---|---|
java.lang.String |
run(java.util.Collection<java.lang.String> cmdArgs)
Run a remote asadmin script command |
java.lang.String |
run(java.lang.String cmd)
Run a remote asadmin script command |
| Methods inherited from class com.sun.enterprise.util.cluster.windows.process.WindowsRemoteScripter |
|---|
wantStdErr |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WindowsRemoteAsadmin(java.lang.String remoteInstallRoot,
WindowsCredentials bonafides)
| Method Detail |
|---|
public java.lang.String run(java.util.Collection<java.lang.String> cmdArgs)
throws WindowsException
run in class WindowsRemoteScriptercmdArgs - e.g. "start-local-instance", "i1"
WindowsException
public final java.lang.String run(java.lang.String cmd)
throws WindowsException
run in class WindowsRemoteScriptercmd - e.g. "start-local-instance i1"
WindowsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||