public CDILiquibaseConfig createCDILiquibaseConfig() {
        final String id = UUID.randomUUID().toString();
        log.fine(LogType.LOG, String.format("[id = %s] createConfig(). Date: '%s'", id, new Date()));

        final InputStream is = SchemesCDIConfigBuilder.class.getResourceAsStream(SCHEMA_NAME);
        try {
            return jvmLocked(id, new Callable<CDILiquibaseConfig>() {
                public CDILiquibaseConfig call() throws Exception {
                    return createCDILiquibaseConfig(id, is);
                }
            });
        } catch (Exception ex) {
            log.warning(LogType.LOG, String.format("[id = %s] Unable to initialize liquibase where '%s'.", id, ex.getMessage()), ex);
            return null;
        } finally {
            try {
                is.close();
            } catch (IOException ioe) {
                log.warning(LogType.LOG, String.format("[id = %s] IOException during closing an input stream '%s'.", id, ioe.getMessage()), ioe);
            }
        }
    }
public CDILiquibaseConfig createCDILiquibaseConfig() {
        final String id = UUID.randomUUID().toString();
        log.fine(LogType.LOG, String.format("[id = %s] createConfig(). Date: '%s'", id, new Date()));

        final InputStream is = SchemesCDIConfigBuilder.class.getResourceAsStream(SCHEMA_NAME);
        try {
            return jvmLocked(id, new Callable<CDILiquibaseConfig>() {
                public CDILiquibaseConfig call() throws Exception {
                    return createCDILiquibaseConfig(id, is);
                }
            });
        } catch (Exception ex) {
            log.warning(LogType.LOG, String.format("[id = %s] Unable to initialize liquibase where '%s'.", id, ex.getMessage()), ex);
            return null;
        } finally {
            try {
                is.close();
            } catch (IOException ioe) {
                log.warning(LogType.LOG, String.format("[id = %s] IOException during closing an input stream '%s'.", id, ioe.getMessage()), ioe);
            }
        }
    }
public CDILiquibaseConfig createCDILiquibaseConfig ( ) { final String id = UUID . randomUUID ( ) . toString ( ) ; log . fine ( LogType . LOG , String . format ( "[id = %s] createConfig(). Date: '%s'" , id , new Date ( ) ) ) ; final InputStream is = SchemesCDIConfigBuilder . class . getResourceAsStream ( SCHEMA_NAME ) ; try { return jvmLocked ( id , new Callable < CDILiquibaseConfig > ( ) { public CDILiquibaseConfig call ( ) throws Exception { return createCDILiquibaseConfig ( id , is ) ; } } ) ; } catch ( Exception ex ) { log . warning ( LogType . LOG , String . format ( "[id = %s] Unable to initialize liquibase where '%s'." , id , ex . getMessage ( ) ) , ex ) ; return null ; } finally { try { is . close ( ) ; } catch ( IOException ioe ) { log . warning ( LogType . LOG , String . format ( "[id = %s] IOException during closing an input stream '%s'." , id , ioe . getMessage ( ) ) , ioe ) ; } } }
API method.
API method .