Search in sources :

Example 1 with HttpRemoteNamingService

use of org.wildfly.httpclient.naming.HttpRemoteNamingService in project wildfly by wildfly.

the class HttpRemoteNamingServerService method start.

@Override
public void start(StartContext startContext) throws StartException {
    final Context namingContext = new NamingContext(namingStore.getValue(), new Hashtable<String, Object>());
    HttpRemoteNamingService service = new HttpRemoteNamingService(namingContext);
    pathHandlerInjectedValue.getValue().addPrefixPath(NAMING, service.createHandler());
}
Also used : NamingContext(org.jboss.as.naming.NamingContext) StopContext(org.jboss.msc.service.StopContext) StartContext(org.jboss.msc.service.StartContext) Context(javax.naming.Context) NamingContext(org.jboss.as.naming.NamingContext) HttpRemoteNamingService(org.wildfly.httpclient.naming.HttpRemoteNamingService)

Aggregations

Context (javax.naming.Context)1 NamingContext (org.jboss.as.naming.NamingContext)1 StartContext (org.jboss.msc.service.StartContext)1 StopContext (org.jboss.msc.service.StopContext)1 HttpRemoteNamingService (org.wildfly.httpclient.naming.HttpRemoteNamingService)1