Package org.openqa.selenium.events.local
Class GuavaEventBus
- java.lang.Object
-
- org.openqa.selenium.events.local.GuavaEventBus
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,EventBus
,HasReadyState
public class GuavaEventBus extends java.lang.Object implements EventBus
-
-
Constructor Summary
Constructors Constructor Description GuavaEventBus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(EventListener<?> listener)
void
close()
static GuavaEventBus
create(org.openqa.selenium.grid.config.Config config)
void
fire(Event event)
boolean
isReady()
-
-
-
Method Detail
-
isReady
public boolean isReady()
- Specified by:
isReady
in interfaceHasReadyState
-
addListener
public void addListener(EventListener<?> listener)
- Specified by:
addListener
in interfaceEventBus
-
close
public void close()
-
create
public static GuavaEventBus create(org.openqa.selenium.grid.config.Config config)
-
-