org.jdesktop.wonderland.client.login
Class ServerSessionManager.DefaultSessionCreator

java.lang.Object
  extended by org.jdesktop.wonderland.client.login.ServerSessionManager.DefaultSessionCreator
All Implemented Interfaces:
SessionCreator<WonderlandSession>
Enclosing class:
ServerSessionManager

public static class ServerSessionManager.DefaultSessionCreator
extends java.lang.Object
implements SessionCreator<WonderlandSession>


Constructor Summary
ServerSessionManager.DefaultSessionCreator()
           
 
Method Summary
 WonderlandSession createSession(ServerSessionManager manager, WonderlandServerInfo serverInfo, java.lang.ClassLoader loader)
          Create a new WonderlandSession for the given server and classloader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerSessionManager.DefaultSessionCreator

public ServerSessionManager.DefaultSessionCreator()
Method Detail

createSession

public WonderlandSession createSession(ServerSessionManager manager,
                                       WonderlandServerInfo serverInfo,
                                       java.lang.ClassLoader loader)
Description copied from interface: SessionCreator
Create a new WonderlandSession for the given server and classloader. This gives the user-interface a hook to listen for session-related events.

Specified by:
createSession in interface SessionCreator<WonderlandSession>
Parameters:
manager - the server session manager that is creating this session
serverInfo - the information about the server to connect to
loader - the classloader with all modules loaded
Returns:
the newly created Wonderland session


Open Wonderland - http://openwonderland.org