eventBridgeParameters));
ServerRuntime runtime = new ServerRuntime(configurationLocation, modules
.toArray(new Module[modules.size()]));
DataChannel channel = runtime.getChannel();
RemoteService service = runtime.getInjector().getInstance(RemoteService.class);
SerializerFactory serializerFactory = HessianConfig.createFactory(
HessianService.SERVER_SERIALIZER_FACTORIES,
channel.getEntityResolver());
setAPIClass(RemoteService.class);
setSerializerFactory(serializerFactory);
setService(service);