* <factory class="flex.messaging.factories.JavaFactory" id="remotingTestFactory"></factory>
*/
private void createFactories()
{
String factoryId = "remotingTestFactory";
FlexFactory factory = new JavaFactory();
broker.removeFactory(factoryId);
broker.addFactory(factoryId, factory);
}