|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openqa.grid.web.Hub
public class Hub
Jetty server. Main entry point for everything about the grid. Except for unit tests, this should be a singleton.
Method Summary | |
---|---|
static Map<String,Integer> |
getGrid1Config()
|
static Map<String,String> |
getGrid1Mapping()
|
String |
getHost()
|
static Hub |
getInstance()
|
static Hub |
getNewInstanceForTest(int port,
Registry registry)
Create a new instance on the given port, with the given registry. |
int |
getPort()
|
URL |
getRegistrationURL()
|
Registry |
getRegistry()
get the registry backing up the hub state. |
URL |
getUrl()
|
protected void |
loadGrid1Config()
|
void |
registerServlets(List<String> servlets)
Configure the hub based on the parameter passed at launch. |
void |
setPort(int port)
|
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Hub getInstance()
public Registry getRegistry()
public static Hub getNewInstanceForTest(int port, Registry registry)
port
- registry
- public int getPort()
public String getHost()
public void start() throws Exception
Exception
public void stop() throws Exception
Exception
public URL getUrl()
public URL getRegistrationURL()
public static Map<String,String> getGrid1Mapping()
public static Map<String,Integer> getGrid1Config()
protected void loadGrid1Config()
public void registerServlets(List<String> servlets)
args
- public void setPort(int port)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |