Package org.pentaho.platform.api.engine

Examples of org.pentaho.platform.api.engine.IPentahoObjectReference


    StandaloneSession session = new StandaloneSession();
    StandaloneSpringPentahoObjectFactory factory = new StandaloneSpringPentahoObjectFactory();
    factory.init( "test-res/solution/system/pentahoObjects.spring.xml", null );

    IPentahoObjectReference reference = factory.getObjectReference( MimeTypeListener.class, session );

    assertEquals( "30", reference.getAttributes().get( "priority" ) );

    assertEquals( ( (MimeTypeListener) reference.getObject() ).name, "Higher Priority MimeTypeListener" );
  }
View Full Code Here

TOP

Related Classes of org.pentaho.platform.api.engine.IPentahoObjectReference

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.