private void initialiseManagedObjectRegistry() throws AMQException
{
ManagementConfiguration config = getConfiguredObject(ManagementConfiguration.class);
if (config.enabled)
{
_managedObjectRegistry = new JMXManagedObjectRegistry();
}
else
{
_managedObjectRegistry = new NoopManagedObjectRegistry();
}