org.openqa.grid.web
Class Hub
java.lang.Object
org.openqa.grid.web.Hub
public class Hub
- extends Object
Jetty server. Main entry point for everything about the grid.
Except for unit tests, this should be a singleton.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Hub
public Hub(GridHubConfiguration config)
getRegistry
public Registry getRegistry()
- get the registry backing up the hub state.
- Returns:
- The registry
getPort
public int getPort()
getHost
public String getHost()
start
public void start()
throws Exception
- Throws:
Exception
stop
public void stop()
throws Exception
- Throws:
Exception
getUrl
public URL getUrl()
getRegistrationURL
public URL getRegistrationURL()
Copyright © 2012. All Rights Reserved.