final InjectedValue<WebServer> server = new InjectedValue<WebServer>();
newControllers.add(target.addService(DistributedCacheManagerFactoryService.JVM_ROUTE_REGISTRY_ENTRY_PROVIDER_SERVICE_NAME, new JvmRouteRegistryEntryProviderService(server))
.addDependency(WebSubsystemServices.JBOSS_WEB, WebServer.class, server)
.setInitialMode(Mode.ON_DEMAND)
.install());
newControllers.addAll(factory.installServices(target));
}
}
@Override
protected boolean requiresRuntimeVerification() {