You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2008/08/11 13:53:45 UTC

[jira] Updated: (QPID-1228) DefaultManagedObject utilises ApplicationRegistry to get ObjectRegistry

     [ https://issues.apache.org/jira/browse/QPID-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie updated QPID-1228:
---------------------------------

          Component/s: Java Broker
    Affects Version/s: M3

> DefaultManagedObject utilises ApplicationRegistry to get ObjectRegistry
> -----------------------------------------------------------------------
>
>                 Key: QPID-1228
>                 URL: https://issues.apache.org/jira/browse/QPID-1228
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: M3
>            Reporter: Martin Ritchie
>
> Summary:
> DefaultManagedObject:
>     protected ManagedObjectRegistry getManagedObjectRegistry()
>     {        
>         return ApplicationRegistry.getInstance().getManagedObjectRegistry();
>     }
> This is incorrect as the default ApplicationRegistry may not be in use.
> This is only used by the register() and unregister() methods. These should be removed and direct calls to un/registerObject should be made instead as in these locations we have access to the virtualhost which should have access to the ManagedObjectRegistry.

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