StandaloneSpringPentahoObjectFactory factory2 = new StandaloneSpringPentahoObjectFactory();
factory2.init( "test-res/solution/system/pentahoObjects.spring.xml", null );
StandaloneObjectFactory factory3 = new StandaloneObjectFactory();
factory3.init( null, null );
factory3.defineObject( "MimeTypeListener", MimeTypeListener.class.getName(),
IPentahoDefinableObjectFactory.Scope.GLOBAL );
AggregateObjectFactory aggFactory = new AggregateObjectFactory();
aggFactory.registerObjectFactory( factory3 );
aggFactory.registerObjectFactory( factory2 );