1@@ -34,6 +34,7 @@ public class Hub implements Command {2private final HubOptions options;3private final Hub hub;4private final Server<?> server;5+ private final GridHubConfiguration gridHubConfig;6public Hub(HubOptions options) {7@@ -47,6 +48,7 @@ public Hub(HubOptions options) {8this.options = requireNonNull(options);9this.hub = new Hub(options);10this.server = new Server<>(options.getServerOptions(), hub);11+ this.gridHubConfig = new GridHubConfiguration();12}13public static void main(String[] args) {14@@ -55,7 +57,7 @@ public static void main(String[] args) {15}16public void execute() throws Exception {17- hub.start();18+ hub.start(gridHubConfig);19}20public void start() throws Exception {21@@ -65,6 +67,7 @@ public void start() throws Exception {22}23public void start(GridHubConfiguration gridHubConfig) throws Exception {24+ this.gridHubConfig = gridHubConfig;25server.start();26}27@@ -74,6 +77,7 @@ public void stop() {28}29public void stop(GridHubConfiguration gridHubConfig) {30+ this.gridHubConfig = gridHubConfig;31server.stop();32}33@@ -85,6 +89,7 @@ public void add(AddOptions options) {34}35public void add(AddOptions options, GridHubConfiguration gridHubConfig) {36+ this.gridHubConfig = gridHubConfig;37hub.add(options);38}39@@ -95,6 +100,7 @@ public void remove(RemoveOptions options) {40}41public void remove(RemoveOptions options, GridHubConfiguration gridHubConfig) {42+ this.gridHubConfig = gridHubConfig;43hub.remove(options);44}45@@ -105,6 +111,7 @@ public void update(UpdateOptions options) {46}47public void update(UpdateOptions options, GridHubConfiguration gridHubConfig) {48+ this.gridHubConfig = gridHubConfig;49hub.update(options);50}51@@ -115,6 +122,7 @@ public void status(StatusOptions options) {52}53public void status(StatusOptions options, GridHubConfiguration gridHubConfig) {54+ this.gridHubConfig = gridHubConfig;55hub.status(options);56}57@@ -125,6 +133,7 @@ public void config(Config