Whack

org.jivesoftware.whack.container
Class ServerContainer

java.lang.Object
  extended by 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:

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

Constructor Summary
ServerContainer()
           
 
Method Summary
 String getHomeDirectory()
           
static ServerContainer getInstance()
           
 org.xmpp.component.ComponentManager getManager()
           
 org.jivesoftware.util.XMLProperties getProperties()
           
 boolean isSetupMode()
           
static void main(String[] args)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerContainer

public ServerContainer()
Method Detail

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()

Whack

Copyright © 2003-2008 Jive Software.