liquibase.SingletonScopeManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
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;
}
}