Class ServerStarter
- java.lang.Object
-
- org.jivesoftware.openfire.starter.ServerStarter
-
public class ServerStarter extends Object
Starts the core XMPP server. A bootstrap class that configures classloaders to ensure easy, dynamic server startup. This class should be for standalone mode only. Openfire servers launched through a J2EE container (servlet/EJB) will use those environment's classloading facilities to ensure proper startup.Tasks:
- Unpack any pack files in the lib directory (Pack200 encoded JAR files).
- Add all jars in the lib directory to the classpath.
- Add the config directory to the classpath for loadResource()
- Start the server
openfire.lib.diris specified ServerStarter will attempt to use this value as the value for openfire's lib directory. If the property is not specified the default value of ../lib will be used.- Author:
- Iain Shigeoka
-
-
Constructor Summary
Constructors Constructor Description ServerStarter()
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
-