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

Hardy Ferentschik (JIRA) noreply at atlassian.com
Mon Jan 30 11:26:13 EST 2012


     [ http://opensource.atlassian.com/projects/hibernate/browse/HV-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hardy Ferentschik updated HV-532:
---------------------------------

    Fix Version/s:     (was: 4.3.0.Alpha1)
                   4.3.0.next

> 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