You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2010/01/10 18:51:54 UTC

[jira] Created: (ARIES-110) Equals methods for some Metadata classes

Equals methods for some Metadata classes
----------------------------------------

                 Key: ARIES-110
                 URL: https://issues.apache.org/jira/browse/ARIES-110
             Project: Aries
          Issue Type: Bug
          Components: Blueprint
    Affects Versions: 1.0
            Reporter: David Jencks
             Fix For: 1.0


Dealing intelligently with MapMetadata in NamespaceHandlers would be a lot simpler if metadata for keys behaved more like the objects they represent.  For my purposes in xbean-blueprint methods on

RefMetadataImpl
ValueMetadataImpl
ServiceReferenceMetadataImpl
ReferenceMetadataImpl

seem reasonable.  I'm not sure how to reasonably implement equals on other metadata types.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ARIES-110) Equals methods for some Metadata classes

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ARIES-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12831807#action_12831807 ] 

David Jencks commented on ARIES-110:
------------------------------------

For now I've implemented this in xbean-blueprint (wehre I need it) and will consider discussing with the eeg.  It won't do much good just in aries blueprint.

> Equals methods for some Metadata classes
> ----------------------------------------
>
>                 Key: ARIES-110
>                 URL: https://issues.apache.org/jira/browse/ARIES-110
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: 1.0
>            Reporter: David Jencks
>             Fix For: 1.0
>
>         Attachments: ARIES-110.diff
>
>
> Dealing intelligently with MapMetadata in NamespaceHandlers would be a lot simpler if metadata for keys behaved more like the objects they represent.  For my purposes in xbean-blueprint methods on
> RefMetadataImpl
> ValueMetadataImpl
> ServiceReferenceMetadataImpl
> ReferenceMetadataImpl
> seem reasonable.  I'm not sure how to reasonably implement equals on other metadata types.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ARIES-110) Equals methods for some Metadata classes

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks updated ARIES-110:
-------------------------------

    Attachment: ARIES-110.diff

implementation of equals/hashcode for a few Metadata objects.

> Equals methods for some Metadata classes
> ----------------------------------------
>
>                 Key: ARIES-110
>                 URL: https://issues.apache.org/jira/browse/ARIES-110
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: 1.0
>            Reporter: David Jencks
>             Fix For: 1.0
>
>         Attachments: ARIES-110.diff
>
>
> Dealing intelligently with MapMetadata in NamespaceHandlers would be a lot simpler if metadata for keys behaved more like the objects they represent.  For my purposes in xbean-blueprint methods on
> RefMetadataImpl
> ValueMetadataImpl
> ServiceReferenceMetadataImpl
> ReferenceMetadataImpl
> seem reasonable.  I'm not sure how to reasonably implement equals on other metadata types.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ARIES-110) Equals methods for some Metadata classes

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ARIES-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832471#action_12832471 ] 

Guillaume Nodet commented on ARIES-110:
---------------------------------------

Yeah, that may not be a good idea to lead users to rely on those methods if they're not specified.

> Equals methods for some Metadata classes
> ----------------------------------------
>
>                 Key: ARIES-110
>                 URL: https://issues.apache.org/jira/browse/ARIES-110
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: 1.0
>            Reporter: David Jencks
>             Fix For: 1.0
>
>         Attachments: ARIES-110.diff
>
>
> Dealing intelligently with MapMetadata in NamespaceHandlers would be a lot simpler if metadata for keys behaved more like the objects they represent.  For my purposes in xbean-blueprint methods on
> RefMetadataImpl
> ValueMetadataImpl
> ServiceReferenceMetadataImpl
> ReferenceMetadataImpl
> seem reasonable.  I'm not sure how to reasonably implement equals on other metadata types.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.