public class Hub
extends java.lang.Object
Except for unit tests, this should be a singleton.
Constructor and Description |
---|
Hub(GridHubConfiguration gridHubConfiguration) |
Modifier and Type | Method and Description |
---|---|
GridHubConfiguration |
getConfiguration() |
java.net.URL |
getConsoleURL() |
java.net.URL |
getRegistrationURL() |
Registry |
getRegistry()
get the registry backing up the hub state.
|
java.net.URL |
getUrl() |
java.net.URL |
getUrl(java.lang.String path) |
java.net.URL |
getWebDriverHubRequestURL() |
void |
start() |
void |
stop() |
public Hub(GridHubConfiguration gridHubConfiguration)
public Registry getRegistry()
public GridHubConfiguration getConfiguration()
public void start() throws java.lang.Exception
java.lang.Exception
public void stop() throws java.lang.Exception
java.lang.Exception
public java.net.URL getUrl()
public java.net.URL getUrl(java.lang.String path)
public java.net.URL getRegistrationURL()
public java.net.URL getWebDriverHubRequestURL()
public java.net.URL getConsoleURL()