use of org.jboss.as.naming.remote.RemoteNamingServerService in project wildfly by wildfly.
the class RemoteNamingAdd method installRuntimeServices.
void installRuntimeServices(final OperationContext context) throws OperationFailedException {
final RemoteNamingServerService remoteNamingServerService = new RemoteNamingServerService();
final ServiceBuilder<RemoteNamingService> builder = context.getServiceTarget().addService(RemoteNamingServerService.SERVICE_NAME, remoteNamingServerService);
builder.addDependency(RemotingServices.SUBSYSTEM_ENDPOINT, Endpoint.class, remoteNamingServerService.getEndpointInjector()).addDependency(ContextNames.EXPORTED_CONTEXT_SERVICE_NAME, NamingStore.class, remoteNamingServerService.getNamingStoreInjector()).install();
}
Aggregations