org.openqa.grid.web
Class Hub

java.lang.Object
  extended by 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.


Constructor Summary
Hub(GridHubConfiguration config)
           
 
Method Summary
 String getHost()
           
 int getPort()
           
 URL getRegistrationURL()
           
 Registry getRegistry()
          get the registry backing up the hub state.
 URL getUrl()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hub

public Hub(GridHubConfiguration config)
Method Detail

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.