}
};
protected ViewsEngine() {
// 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 );