org.jdesktop.wonderland.server
Class WonderlandContext

java.lang.Object
  extended by org.jdesktop.wonderland.server.WonderlandContext

public class WonderlandContext
extends java.lang.Object

Provides a single point of access to all the major Wonderland subsystems on a server.

Author:
paulby

Constructor Summary
WonderlandContext()
           
 
Method Summary
static CellManagerMO getCellManager()
          Return the cell manager singleton.
static CommsManager getCommsManager()
          Return the communications manager singleton
static UserManager getUserManager()
          Return the user manager singleton.
static java.net.URL getWebServerURL()
          Returns the base URL of the web server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WonderlandContext

public WonderlandContext()
Method Detail

getCellManager

public static CellManagerMO getCellManager()
Return the cell manager singleton.

Returns:
the master cell cache

getUserManager

public static UserManager getUserManager()
Return the user manager singleton.

Returns:
the user manager

getCommsManager

public static CommsManager getCommsManager()
Return the communications manager singleton

Returns:
the communications manager

getWebServerURL

public static java.net.URL getWebServerURL()
                                    throws java.net.MalformedURLException
Returns the base URL of the web server.

Returns:
The URL of the web server
Throws:
java.net.MalformedURLException - Upon an invalid URL


Open Wonderland - http://openwonderland.org