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

liquibase.SingletonScopeFactory Maven / Gradle / Ivy

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

public class SingletonScopeFactory extends ScopeManager {

    private Scope currentScope = new Scope();

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

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

        if (this.currentScope == null) {
            this.currentScope = new Scope();
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy