Package org.gatein.integration.jboss.as7.deployment

Examples of org.gatein.integration.jboss.as7.deployment.CdiContextExtensionProcessor


            if (du.getAttachment(GateInEarKey.KEY) != null) {
                // Install InitService with dependency on all the deployment modules reaching POST_MODULE
                // TODO: we are starting up InitService before child modules (jboss.deployment.subunit.*) have gone through
                // POST_MODULE
                final ServiceBuilder<InitService> builder = target.addService(initSvcName, new InitService(config))
                        .addDependency(GateInExtension.deploymentUnitName(config.getGateInEarModule(), Phase.POST_MODULE));

                for (ModuleIdentifier module : config.getGateInExtModules()) {
                    builder.addDependency(GateInExtension.deploymentUnitName(module, Phase.POST_MODULE));
                }
View Full Code Here


            final GateInConfiguration config = du.getAttachment(GateInConfigurationKey.KEY);

            final ModuleIdentifier moduleId = du.getAttachment(Attachments.MODULE_IDENTIFIER);

            if (isLastModuleStarting(config, moduleId)) {
                final StartupService startup = new StartupService();
                startup.setGateInModule(du.getAttachment(Attachments.MODULE));

                final ServiceBuilder<StartupService> builder = phaseContext.getServiceTarget().addService(
                        StartupService.SERVICE_NAME, startup);

                builder.addDependency(GateInExtension.deploymentUnitName(config.getGateInEarModule(), Phase.CLEANUP));
View Full Code Here

TOP

Related Classes of org.gatein.integration.jboss.as7.deployment.CdiContextExtensionProcessor

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.