[jboss-jira] [JBoss JIRA] (WFLY-11197) The bean-validation subsystem should provide a capability; other subsystems should check for it before using classes

Brian Stansberry (Jira) issues at jboss.org
Tue Oct 16 20:17:00 EDT 2018


Brian Stansberry created WFLY-11197:
---------------------------------------

             Summary: The bean-validation subsystem should provide a capability; other subsystems should check for it before using classes
                 Key: WFLY-11197
                 URL: https://issues.jboss.org/browse/WFLY-11197
             Project: WildFly
          Issue Type: Enhancement
          Components: Bean Validation, JPA / Hibernate, JSF
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry


JPA and JSF should not use BeanValidationAttachments.VALIDATOR_FACTORY without first checking for a capability.

This will allow JPA and JSF to make their dependencies on the org.wildfly.extension.bean-validation module be optional, which will allow Galleon to skip provisioning the module (and its dependencies) if the subsystem is not configured.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list