WebSphere:*,type=WebServer
MBean WebServer
Managed object for Web Server functions
Operation Summary | |
java.lang.String | status( Get the WebServer status. |
java.lang.String | status( Get the WebServer status. |
java.lang.String | start( Start the WebServer. |
java.lang.String | start( Start the WebServer. |
java.lang.String | stop( Stop the WebServer. |
java.lang.String | stop( Stop the WebServer. |
java.lang.String | upload( Upload from WAS repository to the WebServer machine. |
java.lang.String | upload( Upload from WAS repository to the WebServer machine. |
java.lang.String | download( Download from WAS repository to target WebServer machine. |
java.lang.String | download( Download from WAS repository to target WebServer machine. |
java.lang.String | download( Download from WAS repository to target WebServer machine. |
java.lang.String | download( Download from WAS repository to target WebServer machine. |
long | linecount( Obtain number of lines for specified file on target WebServer machine. |
long | linecount( Obtain number of lines for specified file on target WebServer machine. |
java.lang.String | ping( Ping the WebServer. |
java.lang.String | ping( Ping the WebServer. |
Operation Detail |
public java.lang.String status(java.lang.String serverName
)
serverName
-
The name of the server.
public java.lang.String status(java.lang.String cellName,
java.lang.String nodeName,
java.lang.String serverName
)
cellName
-
The cell where the server is located.nodeName
-
The node where the server is located.serverName
-
The name of the server.
public java.lang.String start(java.lang.String serverName
)
serverName
-
The name of the server.
public java.lang.String start(java.lang.String cellName,
java.lang.String nodeName,
java.lang.String serverName
)
cellName
-
The cell where the server is located.nodeName
-
The node where the server is located.serverName
-
The name of the server.
public java.lang.String stop(java.lang.String serverName
)
serverName
-
The name of the server.
public java.lang.String stop(java.lang.String cellName,
java.lang.String nodeName,
java.lang.String serverName
)
cellName
-
The cell where the server is located.nodeName
-
The node where the server is located.serverName
-
The name of the server.
public java.lang.String upload(java.lang.String serverName,
java.io.File sourceFile,
java.lang.String destPath
)
serverName
-
The name of the server.sourceFile
-
The file to upload.destPath
-
The destination path for the file at the cell manager.
public java.lang.String upload(java.lang.String cellName,
java.lang.String nodeName,
java.lang.String serverName,
java.io.File sourceFile,
java.lang.String destPath
)
cellName
-
The cell where the server is located.nodeName
-
The node where the server is located.serverName
-
The name of the server.sourceFile
-
The file to upload.destPath
-
The destination path for the file at the cell manager.
public java.lang.String download(java.lang.String serverName,
java.lang.String sourcePath,
java.io.File destFile
)
serverName
-
The name of the server.sourcePath
-
The source location of the file to download from the cell manager.destFile
-
The target file to create.
public java.lang.String download(java.lang.String cellName,
java.lang.String nodeName,
java.lang.String serverName,
java.lang.String sourcePath,
java.io.File destFile
)
cellName
-
The cell where the server is located.nodeName
-
The node where the server is located.serverName
-
The name of the server.sourcePath
-
The source location of the file to download from the cell manager.destFile
-
The target file to create.
public java.lang.String download(java.lang.String serverName,
java.lang.String sourcePath,
java.io.File destFile,
long beginIndex,
long endIndex
)
serverName
-
The name of the server.sourcePath
-
The source location of the file to download from the cell manager.destFile
-
The target file to create.beginIndex
-
The index to begin the partial file transfer.endIndex
-
The index to end the partial file transfer.
public java.lang.String download(java.lang.String cellName,
java.lang.String nodeName,
java.lang.String serverName,
java.lang.String sourcePath,
java.io.File destFile,
long beginIndex,
long endIndex
)
cellName
-
The cell where the server is located.nodeName
-
The node where the server is located.serverName
-
The name of the server.sourcePath
-
The source location of the file to download from the cell manager.destFile
-
The target file to create.beginIndex
-
The index to begin the partial file transfer.endIndex
-
The index to end the partial file transfer.
public long linecount(java.lang.String serverName,
java.lang.String destPath
)
serverName
-
The name of the server.destPath
-
The target file to get the line count from.
public long linecount(java.lang.String cellName,
java.lang.String nodeName,
java.lang.String serverName,
java.lang.String destPath
)
cellName
-
The cell where the server is located.nodeName
-
The node where the server is located.serverName
-
The name of the server.destPath
-
The target file to get the line count from.
public java.lang.String ping(java.lang.String serverName
)
serverName
-
The name of the server.
public java.lang.String ping(java.lang.String cellName,
java.lang.String nodeName,
java.lang.String serverName
)
cellName
-
The cell where the server is located.nodeName
-
The node where the server is located.serverName
-
The name of the server.