[hibernate-issues] [Hibernate-JIRA] Created: (HV-532) Remove package cycle between "core" and "descriptor" packages

Gunnar Morling (JIRA) noreply at atlassian.com
Wed Nov 30 14:44:19 EST 2011


Remove package cycle between "core" and "descriptor" packages
-------------------------------------------------------------

                 Key: HV-532
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-532
             Project: Hibernate Validator
          Issue Type: Task
          Components: engine
    Affects Versions: 4.2.0.Final
            Reporter: Gunnar Morling
             Fix For: 4.3.0.next


There is a cyclic dependency between the packages {{org.hibernate.validator.metadata.core}} and {{org.hibernate.validator.metadata.descriptor}} which should be removed. 

I think the general problem is that {{ConstraintDescriptorImpl}} (which is now part of the "descriptor" model) is used globally in HV. Probably there should be a corresponding node in the internal model (actually we already have this with {{MetaConstraint}}), of which {{ConstraintDescriptorImpl}} would only be a light-weight view for external meta-model users.

In {{ConstraintDescriptorImpl}} there is also a lot of logic related to annotation retrieval, which we now might move into the provider hierarchy similar to {{BeanMetaDataImpl}}.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list