org.jivesoftware.whack.container
Class ServerContainer
java.lang.Object
org.jivesoftware.whack.container.ServerContainer
public class ServerContainer
- extends Object
Starts the web server and components finder. A bootstrap class that will start the Jetty server
for which it requires to receive two parameters when launched. The first parameter is the
absolute path to the root folder that contains:
- conf - folder that holds Whack's configuration file
- components - folder that holds the components' jar files
- resources/security - folder that holds the key stores for the https protocol
- webapp - folder that holds the JSP pages of the admin console
The second parameter is the name of the configuration file that holds Whack's configuration.
This file must be located in the conf folder under the root folder.
- Author:
- Gaston Dombiak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerContainer
public ServerContainer()
main
public static void main(String[] args)
getInstance
public static ServerContainer getInstance()
getHomeDirectory
public String getHomeDirectory()
getProperties
public org.jivesoftware.util.XMLProperties getProperties()
start
public void start()
isSetupMode
public boolean isSetupMode()
getManager
public org.xmpp.component.ComponentManager getManager()
Copyright © 2003-2008 Jive Software.