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

Hardy Ferentschik (JIRA) noreply at atlassian.com
Mon Mar 19 06:43:50 EDT 2012


    [ https://hibernate.onjira.com/browse/HV-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46013#comment-46013 ] 

Hardy Ferentschik commented on HV-532:
--------------------------------------

Would a fix mean breaking the current API. If so, we should move it to HV 5.

> Remove package cycle between "core" and "descriptor" packages
> -------------------------------------------------------------
>
>                 Key: HV-532
>                 URL: https://hibernate.onjira.com/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.Beta1
>
>
> 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