public class ImporttoolService extends JVMService
Modifier and Type | Field and Description |
---|---|
protected Importtool |
importtool |
protected java.lang.String[] |
parameters |
static java.lang.String |
version |
appThread, CONTROLS_PARAMCHANGE, CONTROLS_PAUSABLE, CONTROLS_SHUTDOWN, CONTROLS_STOPPABLE, ERR_OUT, STD_OUT, WAIT_HINT
Constructor and Description |
---|
ImporttoolService()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getVersion() |
void |
init(java.lang.String[] param)
Set the application parameters.
|
void |
pause()
Pause the application thread.
|
void |
resume()
Resume the application thread.
|
void |
run()
Run method for main thread.
|
void |
setEnvironment(java.lang.String key,
java.lang.String value)
Set an environment varibale.
|
void |
start()
Start the application thread.
|
void |
stop()
Stop the application thread.
|
errOut, errOut, getCallingClassName, getLogLevel, getLogType, getWaitHint, requestStopService, sendServiceRunning, setControlsAccepted, stdOut, stdOut
public static final java.lang.String version
protected java.lang.String[] parameters
protected Importtool importtool
public java.lang.String getVersion()
getVersion
in class JVMService
public void setEnvironment(java.lang.String key, java.lang.String value)
setEnvironment
in class JVMService
public void init(java.lang.String[] param)
init
in class JVMService
param
- The array containig the parameter strings.public void run()
public void start()
JVMService
start
in class JVMService
public void stop()
JVMService
stop
in class JVMService
public void pause()
JVMService
pause
in class JVMService
public void resume()
JVMService
resume
in class JVMService