Package org.jboss.as.weld
Class CdiValidatorFactoryService
java.lang.Object
org.jboss.as.weld.CdiValidatorFactoryService
- All Implemented Interfaces:
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
FieldsFields inherited from interface org.jboss.msc.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionCdiValidatorFactoryService(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, Supplier<jakarta.enterprise.inject.spi.BeanManager> beanManagerSupplier) Create the CdiValidatorFactoryService instance. -
Method Summary
-
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:
startin interfaceorg.jboss.msc.Service
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service
-