Package org.jboss.as.ee.naming

Examples of org.jboss.as.ee.naming.NamespaceSelectorService


                componentContextServiceName = null;
                break;
            }
        }

        final NamespaceSelectorService selectorService = new NamespaceSelectorService();
        final ServiceName selectorServiceName = baseName.append("NAMESPACE");
        final ServiceBuilder<NamespaceContextSelector> selectorServiceBuilder = serviceTarget.addService(selectorServiceName, selectorService)
                .addDependency(appContextServiceName, NamingStore.class, selectorService.getApp())
                .addDependency(moduleContextServiceName, NamingStore.class, selectorService.getModule());
        if (componentContextServiceName != null) {
            selectorServiceBuilder.addDependency(componentContextServiceName, NamingStore.class, selectorService.getComp());
        }
        selectorServiceBuilder.install();

        // START depends on CREATE
        startBuilder.addDependency(createServiceName, AbstractComponent.class, startService.getComponentInjector());
View Full Code Here

TOP

Related Classes of org.jboss.as.ee.naming.NamespaceSelectorService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.