Skip to content

Commit 5d0099d

Browse files
committed
[grid] Bring EventBusConfig into the same naming pattern as other options
1 parent b8fb574 commit 5d0099d

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

java/server/src/org/openqa/selenium/grid/commands/Hub.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
import org.openqa.selenium.grid.router.Router;
3737
import org.openqa.selenium.grid.server.BaseServerFlags;
3838
import org.openqa.selenium.grid.server.BaseServerOptions;
39-
import org.openqa.selenium.grid.server.EventBusConfig;
39+
import org.openqa.selenium.grid.server.EventBusOptions;
4040
import org.openqa.selenium.grid.server.EventBusFlags;
4141
import org.openqa.selenium.grid.server.HelpFlags;
4242
import org.openqa.selenium.grid.server.Server;
@@ -104,7 +104,7 @@ public Executable configure(String... args) {
104104
loggingOptions.configureLogging();
105105
Tracer tracer = loggingOptions.getTracer();
106106

107-
EventBusConfig events = new EventBusConfig(config);
107+
EventBusOptions events = new EventBusOptions(config);
108108
EventBus bus = events.getEventBus();
109109

110110
CombinedHandler handler = new CombinedHandler();

java/server/src/org/openqa/selenium/grid/commands/Standalone.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
import org.openqa.selenium.grid.router.Router;
4242
import org.openqa.selenium.grid.server.BaseServerFlags;
4343
import org.openqa.selenium.grid.server.BaseServerOptions;
44-
import org.openqa.selenium.grid.server.EventBusConfig;
44+
import org.openqa.selenium.grid.server.EventBusOptions;
4545
import org.openqa.selenium.grid.server.EventBusFlags;
4646
import org.openqa.selenium.grid.server.HelpFlags;
4747
import org.openqa.selenium.grid.server.Server;
@@ -117,7 +117,7 @@ public Executable configure(String... args) {
117117
loggingOptions.configureLogging();
118118
Tracer tracer = loggingOptions.getTracer();
119119

120-
EventBusConfig events = new EventBusConfig(config);
120+
EventBusOptions events = new EventBusOptions(config);
121121
EventBus bus = events.getEventBus();
122122

123123
String hostName;

java/server/src/org/openqa/selenium/grid/distributor/httpd/DistributorServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
import org.openqa.selenium.grid.log.LoggingOptions;
3535
import org.openqa.selenium.grid.server.BaseServerFlags;
3636
import org.openqa.selenium.grid.server.BaseServerOptions;
37-
import org.openqa.selenium.grid.server.EventBusConfig;
37+
import org.openqa.selenium.grid.server.EventBusOptions;
3838
import org.openqa.selenium.grid.server.EventBusFlags;
3939
import org.openqa.selenium.grid.server.HelpFlags;
4040
import org.openqa.selenium.grid.server.Server;
@@ -106,7 +106,7 @@ public Executable configure(String... args) {
106106
loggingOptions.configureLogging();
107107
Tracer tracer = loggingOptions.getTracer();
108108

109-
EventBusConfig events = new EventBusConfig(config);
109+
EventBusOptions events = new EventBusOptions(config);
110110
EventBus bus = events.getEventBus();
111111

112112
HttpClient.Factory clientFactory = new TracedHttpClient.Factory(tracer, HttpClient.Factory.createDefault());

java/server/src/org/openqa/selenium/grid/node/httpd/NodeServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
import org.openqa.selenium.grid.node.local.LocalNode;
4040
import org.openqa.selenium.grid.server.BaseServerFlags;
4141
import org.openqa.selenium.grid.server.BaseServerOptions;
42-
import org.openqa.selenium.grid.server.EventBusConfig;
42+
import org.openqa.selenium.grid.server.EventBusOptions;
4343
import org.openqa.selenium.grid.server.EventBusFlags;
4444
import org.openqa.selenium.grid.server.HelpFlags;
4545
import org.openqa.selenium.grid.server.Server;
@@ -110,7 +110,7 @@ public Executable configure(String... args) {
110110
loggingOptions.configureLogging();
111111
Tracer tracer = loggingOptions.getTracer();
112112

113-
EventBusConfig events = new EventBusConfig(config);
113+
EventBusOptions events = new EventBusOptions(config);
114114
EventBus bus = events.getEventBus();
115115

116116
HttpClient.Factory clientFactory = new TracedHttpClient.Factory(tracer, HttpClient.Factory.createDefault());

java/server/src/org/openqa/selenium/grid/server/EventBusConfig.java renamed to java/server/src/org/openqa/selenium/grid/server/EventBusOptions.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525
import java.util.Objects;
2626
import java.util.logging.Logger;
2727

28-
public class EventBusConfig {
28+
public class EventBusOptions {
2929

3030
private static final Logger LOG = Logger.getLogger(EventBus.class.getName());
3131
private static final String DEFAULT_CLASS = "org.openqa.selenium.events.zeromq.ZeroMqEventBus";
32-
32+
3333
private final Config config;
3434
private EventBus bus;
3535

36-
public EventBusConfig(Config config) {
36+
public EventBusOptions(Config config) {
3737
this.config = Objects.requireNonNull(config, "Config must be set.");
3838
}
3939

java/server/src/org/openqa/selenium/grid/sessionmap/httpd/SessionMapServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
import org.openqa.selenium.grid.log.LoggingOptions;
3535
import org.openqa.selenium.grid.server.BaseServerFlags;
3636
import org.openqa.selenium.grid.server.BaseServerOptions;
37-
import org.openqa.selenium.grid.server.EventBusConfig;
37+
import org.openqa.selenium.grid.server.EventBusOptions;
3838
import org.openqa.selenium.grid.server.EventBusFlags;
3939
import org.openqa.selenium.grid.server.HelpFlags;
4040
import org.openqa.selenium.grid.server.Server;
@@ -103,7 +103,7 @@ public Executable configure(String... args) {
103103
loggingOptions.configureLogging();
104104
Tracer tracer = loggingOptions.getTracer();
105105

106-
EventBusConfig events = new EventBusConfig(config);
106+
EventBusOptions events = new EventBusOptions(config);
107107
EventBus bus = events.getEventBus();
108108

109109
SessionMap sessions = new LocalSessionMap(tracer, bus);

0 commit comments

Comments
 (0)