Search in sources :

Example 1 with RemoteNamingServerService

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();
}
Also used : NamingStore(org.jboss.as.naming.NamingStore) RemoteNamingServerService(org.jboss.as.naming.remote.RemoteNamingServerService) RemoteNamingService(org.wildfly.naming.client.remote.RemoteNamingService)

Aggregations

NamingStore (org.jboss.as.naming.NamingStore)1 RemoteNamingServerService (org.jboss.as.naming.remote.RemoteNamingServerService)1 RemoteNamingService (org.wildfly.naming.client.remote.RemoteNamingService)1