use of io.joynr.runtime.CCWebSocketRuntimeModule in project joynr by bmwcarit.
the class BroadcastEnd2EndTest method createClusterController.
private ClusterControllerRuntime createClusterController(Properties webSocketConfig) {
Properties ccConfig = new Properties();
ccConfig.putAll(webSocketConfig);
ccConfig.setProperty(ConfigurableMessagingSettings.PROPERTY_CC_CONNECTION_TYPE, "WEBSOCKET");
Injector injectorCC = new JoynrInjectorFactory(ccConfig, new CCWebSocketRuntimeModule()).getInjector();
return (ClusterControllerRuntime) injectorCC.getInstance(JoynrRuntime.class);
}
Aggregations