public class CORBAFileServerService extends JVMService
Modifier and Type | Field and Description |
---|---|
protected CORBAFileServer |
server |
static java.lang.String |
version |
appThread, CONTROLS_PARAMCHANGE, CONTROLS_PAUSABLE, CONTROLS_SHUTDOWN, CONTROLS_STOPPABLE, ERR_OUT, STD_OUT, WAIT_HINT
Constructor and Description |
---|
CORBAFileServerService()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getVersion() |
int |
getWaitHint()
Get the time in milliseconds in that is needed for application to stop.
|
void |
init(java.lang.String[] param)
Set the application parameters.
|
static void |
main(java.lang.String[] args) |
void |
pause()
Pause the CORBAFileServer thread.
|
void |
restart()
Restart the CORBAFileServer thread.
|
void |
resume()
Resume the CORBAFileServer thread.
|
void |
setEnvironment(java.lang.String key,
java.lang.String value)
Set environment variables.
|
void |
start()
Start the application.
|
void |
stop()
Stop the CORBAFileServer thread.
|
errOut, errOut, getCallingClassName, getLogLevel, getLogType, requestStopService, sendServiceRunning, setControlsAccepted, stdOut, stdOut
public static final java.lang.String version
protected CORBAFileServer server
public java.lang.String getVersion()
getVersion
in class JVMService
public void setEnvironment(java.lang.String key, java.lang.String value)
setEnvironment
in class JVMService
key
- The name of the variable.value
- The value of the variable.public void init(java.lang.String[] param)
init
in class JVMService
param
- The array containing the parameter strings.public void start()
start
in class JVMService
public void stop()
stop
in class JVMService
public void restart()
public void pause()
pause
in class JVMService
public void resume()
resume
in class JVMService
public int getWaitHint()
getWaitHint
in class JVMService
public static void main(java.lang.String[] args)