Package org.gatein.wci.jboss

Examples of org.gatein.wci.jboss.GateInWCIService


    protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model,
            ServiceVerificationHandler verificationHandler, List<ServiceController<?>> newControllers)
            throws OperationFailedException {
        super.performRuntime(context, operation, model, verificationHandler, newControllers);

        final GateInWCIService wciService = new GateInWCIService();
        final ServiceBuilder<GateInWCIService> serviceBuilder = context.getServiceTarget()
                .addService(GateInWCIService.NAME, wciService)
                .addDependency(WebSubsystemServices.JBOSS_WEB, WebServer.class, wciService.getWebServer())
                .addListener(verificationHandler).setInitialMode(ServiceController.Mode.ACTIVE);
        newControllers.add(serviceBuilder.install());
    }
View Full Code Here


    protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model,
            ServiceVerificationHandler verificationHandler, List<ServiceController<?>> newControllers)
            throws OperationFailedException {
        super.performRuntime(context, operation, model, verificationHandler, newControllers);

        final GateInWCIService wciService = new GateInWCIService();
        final ServiceBuilder<GateInWCIService> serviceBuilder = context.getServiceTarget()
                .addService(GateInWCIService.NAME, wciService)
                .addDependency(WebSubsystemServices.JBOSS_WEB, WebServer.class, wciService.getWebServer())
                .addListener(verificationHandler).setInitialMode(ServiceController.Mode.ACTIVE);
        newControllers.add(serviceBuilder.install());
    }
View Full Code Here

TOP

Related Classes of org.gatein.wci.jboss.GateInWCIService

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.