Examples of RootContextService


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

        switch (description.getNamingMode()) {
            case CREATE: {
                componentContextServiceName = ContextNames.contextServiceNameOfComponent(applicationName, moduleName, componentName);
                // And, create the context...
                RootContextService contextService = new RootContextService();
                serviceTarget.addService(componentContextServiceName, contextService)
                        .addDependency(createServiceName)
                        .install();
                break;
            }
View Full Code Here

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

        //don't start components until all bindings are up
        startBuilder.addDependency(bindingDependencyService);
        final ServiceName contextServiceName;
        //set up the naming context if nessesary
        if (configuration.getComponentDescription().getNamingMode() == ComponentNamingMode.CREATE) {
            final RootContextService contextService = new RootContextService();
            contextServiceName = ContextNames.contextServiceNameOfComponent(configuration.getApplicationName(), configuration.getModuleName(), configuration.getComponentName());
            serviceTarget.addService(contextServiceName, contextService).install();
        } else {
            contextServiceName = ContextNames.contextServiceNameOfModule(configuration.getApplicationName(), configuration.getModuleName());
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.