All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.SingletonScopeManager Maven / Gradle / Ivy

There is a newer version: 4.30.0
Show newest version
package liquibase;

public class SingletonScopeManager extends ScopeManager {

    private Scope currentScope;

    @Override
    public synchronized Scope getCurrentScope() {
        return currentScope;
    }

    @Override
    protected Scope init(Scope scope) throws Exception {
        return scope;
    }

    @Override
    protected synchronized void setCurrentScope(Scope scope) {
        this.currentScope = scope;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy