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

Marnie McCormack updated QPID-1228:
-----------------------------------

    Fix Version/s:     (was: M4)

Moving items not being worked on afaik out of M4 Fix Version

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

Reply via email to