WebSphere:*,type=CRRemoteTestProxy
MBean CRRemoteTestProxy
remotely executes a junit testcase
Operation Summary | |
---|---|
void | startCapture() start capture of systemout and systemerr |
void | runTest( executes the test |
void | stopCapture() stop capture of systemout and systemerr |
java.lang.Object | executeStaticMethod( executes a static method |
java.lang.String | getSystemOut() retrieves systemout output |
java.lang.String | getSystemErr() retrieves systemerr output |
java.lang.String | transferFile( transfers the given file to the remote system |
java.lang.String | transferFile( transfers the given file to the remote system |
java.lang.String | remoteExec( remote execs the given command array |
java.lang.Object[] | getRemoteExecResults( gets the results of remote execution |
java.lang.String | getProperty( retrieves the named system property |
Operation Detail |
---|
public void startCapture()
start capture of systemout and systemerr
administrator
operator
public void runTest(
java.lang.String className,
java.lang.String testName
)
executes the test
className
-
testName
-
administrator
operator
public void stopCapture()
stop capture of systemout and systemerr
administrator
operator
public java.lang.Object executeStaticMethod(
java.lang.Class targetClass,
java.lang.String methodName,
java.lang.Class[] argTypes,
java.lang.Object[] args
)
executes a static method
targetClass
-
methodName
-
argTypes
-
args
-
administrator
operator
public java.lang.String getSystemOut()
retrieves systemout output
administrator
operator
public java.lang.String getSystemErr()
retrieves systemerr output
administrator
operator
public java.lang.String transferFile(
java.lang.String fileName,
byte[] fileBytes
)
transfers the given file to the remote system
fileName
-
fileBytes
-
administrator
operator
public java.lang.String transferFile(
java.lang.String fileName,
byte[] fileBytes,
boolean append
)
transfers the given file to the remote system
fileName
-
fileBytes
-
append
-
administrator
operator
public java.lang.String remoteExec(
java.lang.String[] cmdArray
)
remote execs the given command array
cmdArray
-
administrator
operator
public java.lang.Object[] getRemoteExecResults(
java.lang.String pid
)
gets the results of remote execution
pid
-
administrator
operator
public java.lang.String getProperty(
java.lang.String propertyName
)
retrieves the named system property
propertyName
-
administrator
operator