Package com.ibm.di.loader
Class ServerLauncher
- java.lang.Object
-
- com.ibm.di.loader.ServerLauncher
-
public class ServerLauncher extends java.lang.Object
This is class is responsible for setting up any environment system properties, as well as creating the class loaders hierarchy for loading all TDI jars. This is the entry point for the class loading process along with starting the TDI Server.- Since:
- 7.1
-
-
Constructor Summary
Constructors Constructor Description ServerLauncher()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.ClassLoader
initClassLoader()
Initialize the TDI class loader that loads all TDI jars.static void
main(java.lang.String[] args)
This is the main method that is called when this class is run.static void
shutdown()
Shutdown all servers.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
This is the main method that is called when this class is run.- Parameters:
args
- the arguments that are passed to thecom.ibm.di.server.RS
.- Throws:
java.lang.Exception
- - if a value without corresponding parameter name is encountered
-
initClassLoader
public static java.lang.ClassLoader initClassLoader() throws java.io.IOException
Initialize the TDI class loader that loads all TDI jars.- Returns:
- A new instance of ClassLoader which loads all TDI jars..
- Throws:
java.io.IOException
- If any IO problems appear.
-
shutdown
public static void shutdown()
Shutdown all servers.
-
-