java.lang.Object
|
+--stec.iws.iws
public class iws
Methods used to initialize, run and stop iServer.
Example
import stec.iws.iws;
public class testServer
{
void static main(String[] args)
{
try
{
iws.init("/iws");
iws.run();
}
finally
{
iws.destroy();
}
}
}
Methods
|
Method
|
Description
|
|
destroy
|
Stops the iServer runtime environment.
|
|
init
|
Initializes the iServer runtime environment.
|
|
run
|
Starts and run iServer.
|
destroy
Stops the iServer runtime environment.
Syntax
public static void destroy()
Parameters
Returns
Throws
Example
iws.destroy();
init
Initializes the iServer runtime environment.
Syntax
public static void init(String[] args)
public static void init(String arg)
public static void init()
Parameters
|
args
|
an array of strings containing arguments to iServer.
|
Returns
Throws
Notes
Presently the only parameter is an optional base directory that iServer uses to
find its configuration files.
Example
iws.init(args);
run
Starts and run iServer.
Syntax
public static void run()
Parameters
Returns
Throws
Example
iws.run();
|