Examples of CdiValidatorFactoryService


Examples of org.jboss.as.weld.CdiValidatorFactoryService

            return;
        }

        final ServiceTarget serviceTarget = phaseContext.getServiceTarget();
        final ServiceName serviceName = deploymentUnit.getServiceName().append(CdiValidatorFactoryService.SERVICE_NAME);
        final CdiValidatorFactoryService cdiValidatorFactoryService = new CdiValidatorFactoryService(deploymentUnit);
        serviceTarget.addService(serviceName, cdiValidatorFactoryService)
                .addDependency(weldBootstrapService, WeldBootstrapService.class, cdiValidatorFactoryService.getWeldContainer())
                .addDependency(weldStartService)
                .install();
    }
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.