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

Carlo de Wolf (JIRA) jira-events at jboss.com
Thu Feb 1 13:30:19 EST 2007


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 RC10 - 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