Class CdiValidatorFactoryService

  • All Implemented Interfaces:
    org.jboss.msc.Service

    public class CdiValidatorFactoryService
    extends Object
    implements org.jboss.msc.Service
    Service that replaces the delegate of LazyValidatorFactory with a Jakarta Contexts and Dependency Injection enabled ValidatorFactory.
    Author:
    Farah Juma, Richard Opalka
    • Field Detail

      • SERVICE_NAME

        public static final org.jboss.msc.service.ServiceName SERVICE_NAME
    • Constructor Detail

      • CdiValidatorFactoryService

        public CdiValidatorFactoryService​(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
                                          Supplier<javax.enterprise.inject.spi.BeanManager> beanManagerSupplier)
        Create the CdiValidatorFactoryService instance.
        Parameters:
        deploymentUnit - the deployment unit
    • Method Detail

      • start

        public void start​(org.jboss.msc.service.StartContext context)
        Specified by:
        start in interface org.jboss.msc.Service
      • stop

        public void stop​(org.jboss.msc.service.StopContext context)
        Specified by:
        stop in interface org.jboss.msc.Service