org.openqa.grid.web
Class Hub
java.lang.Object
org.openqa.grid.web.Hub
public class Hub
- extends java.lang.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 java.lang.String getHost()
start
public void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Throws:
java.lang.Exception
getUrl
public java.net.URL getUrl()
getRegistrationURL
public java.net.URL getRegistrationURL()
Copyright © 2011. All Rights Reserved.