// load each topic
final Configuration[] topicsConfig = config.getChildren( "topic" );
for( int i = 0; i < topicsConfig.length; i++ )
{
final ModelMBeanInfoSupport topic =
buildTopic( topicsConfig[ i ], beanInfo );
target.addTopic( topic );
}
// load each proxy
final Configuration[] proxysConfig = config.getChildren( "proxy" );
for( int i = 0; i < proxysConfig.length; i++ )
{
final ModelMBeanInfoSupport topic =
buildProxyTopic( proxysConfig[ i ], managedClass );
target.addTopic( topic );
}
}