Examples of initializeClass()


Examples of pt.webdetails.cpf.persistence.IPersistenceEngine.initializeClass()

    // initialize orientDb and initialize org.pentaho.cdf.views.View
    IPersistenceEngine pe = null;
    try {
      pe = getPersistenceEngine();
      if ( pe != null && !pe.classExists( View.class.getName() ) ) {
        pe.initializeClass( View.class.getName() );
      }
    } catch ( Exception e ) {
      // Intended general exception catch - do not want any PersistenceEngine initialization exception
      // to bubble up
      logger.error( "Error while initializing Views Engine. CDF will work but no views will be available", e );
View Full Code Here

Examples of pt.webdetails.cpf.persistence.PersistenceEngine.initializeClass()

  private ViewEngine() {
    // initialize orientDb and initialize org.pentaho.cdf.views.View
    PersistenceEngine pe = PersistenceEngine.getInstance();
    if ( !pe.classExists( View.class.getName() ) ) {
      pe.initializeClass( View.class.getName() );
    }
  }

  public synchronized static ViewEngine getInstance() {
    if ( instance == null ) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.