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

liquibase.SingletonScopeManager Maven / Gradle / Ivy

The 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