Package org.pentaho.cdf.environment.factory

Examples of org.pentaho.cdf.environment.factory.CoreBeanFactory


  }
 
  private static void initialize() throws InitializationException {
    if ( instance.environment == null ) {

      ICdfBeanFactory factory = new CoreBeanFactory();

      // try to get the environment from the configuration
      // will return the DefaultEnvironment by default
      ICdfEnvironment env = instance.getConfiguredEnvironment( factory );
View Full Code Here


  protected synchronized ICdfEnvironment getConfiguredEnvironment( ICdfBeanFactory factory )
    throws InitializationException {

    String simpleName = ICdfEnvironment.class.getSimpleName();

    Object obj = new CoreBeanFactory().getBean( simpleName );

    if ( obj != null && obj instanceof ICdfEnvironment ) {
      return (ICdfEnvironment) obj;
    } else {
      String msg = "No bean found for " + simpleName;
View Full Code Here

TOP

Related Classes of org.pentaho.cdf.environment.factory.CoreBeanFactory

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.