Package liquibase
Class ThreadLocalScopeManager
java.lang.Object
liquibase.ScopeManager
liquibase.ThreadLocalScopeManager
Deprecated.
ScopeManager now uses ThreadLocal to prevent concurrent modification issues. This class is no longer needed.
An alternative to
Integrations that would prefer to use this scope manager can call
The value of Scope.getCurrentScope() at the time of the ThreadLocalScopeManger's creation will be the basis of all scopes created after setScopeManager() is changed, so you will generally want to setScopeManager as soon as possible.
SingletonScopeManager which manages a separate Scope per thread.Integrations that would prefer to use this scope manager can call
Scope.setScopeManager(new ThreadLocalScopeManager()).
The value of Scope.getCurrentScope() at the time of the ThreadLocalScopeManger's creation will be the basis of all scopes created after setScopeManager() is changed, so you will generally want to setScopeManager as soon as possible.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.protected ScopeDeprecated.protected voidsetCurrentScope(Scope scope) Deprecated.
-
Constructor Details
-
ThreadLocalScopeManager
public ThreadLocalScopeManager()Deprecated. -
ThreadLocalScopeManager
Deprecated.
-
-
Method Details
-
getCurrentScope
Deprecated.- Specified by:
getCurrentScopein classScopeManager
-
setCurrentScope
Deprecated.- Specified by:
setCurrentScopein classScopeManager
-
init
Deprecated.- Specified by:
initin classScopeManager- Throws:
Exception
-