Examples of BatchBuilder


Examples of org.jboss.msc.service.BatchBuilder

        host.setAliases(aliases);
    }

    /** {@inheritDoc} */
    protected <P> void applyUpdate(UpdateContext updateContext, UpdateResultHandler<? super Void, P> resultHandler, P param) {
        final BatchBuilder builder = updateContext.getBatchBuilder();
        final WebVirtualHostService service = new WebVirtualHostService(name, aliases());
        final BatchServiceBuilder<?> serviceBuilder =  builder.addService(WebSubsystemElement.JBOSS_WEB_HOST.append(name), service)
            .addDependency(AbstractPathService.pathNameOf(TEMP_DIR), String.class, service.getTempPathInjector())
            .addDependency(WebSubsystemElement.JBOSS_WEB, WebServer.class, service.getWebServer());
        if(accessLog != null) {
            service.setAccessLog(accessLog);
            // Create the access log service
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.