Class CdiValidatorFactoryService

java.lang.Object
org.jboss.as.weld.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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.jboss.msc.service.ServiceName
     

    Fields inherited from interface org.jboss.msc.Service

    NULL
  • Constructor Summary

    Constructors
    Constructor
    Description
    CdiValidatorFactoryService(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, Supplier<jakarta.enterprise.inject.spi.BeanManager> beanManagerSupplier)
    Create the CdiValidatorFactoryService instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    start(org.jboss.msc.service.StartContext context)
     
    void
    stop(org.jboss.msc.service.StopContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SERVICE_NAME

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

    • CdiValidatorFactoryService

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

    • 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