[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-861) Dependencies should be registered using a canonical name

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Fri Feb 23 11:41:35 EST 2007


     [ http://jira.jboss.com/jira/browse/EJBTHREE-861?page=all ]

Carlo de Wolf updated EJBTHREE-861:
-----------------------------------

    Fix Version/s: EJB 3.0 RC11 - FD
                       (was: EJB 3.0 RC10 - FD)

> Dependencies should be registered using a canonical name
> --------------------------------------------------------
>
>                 Key: EJBTHREE-861
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-861
>             Project: EJB 3.0
>          Issue Type: Feature Request
>    Affects Versions: EJB 3.0 RC9 - Patch 1
>            Reporter: Carlo de Wolf
>            Priority: Critical
>             Fix For: EJB 3.0 RC11 - FD
>
>
> Tip from Adrian:
> Why don't you just fix it like the ServiceMetaData does
> when it doesn't know whether it is dealing with a bean name
> or ObjectName?
> String dependency = ...
> try
> {
>    ObjectName on = new ObjectName(dependency);
>    dependency = on.getCanonicalName();
> }
> catch (MalformedObjectName ignored)
> {
>    // Not an object name
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list