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
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.protected Scope
Deprecated.protected void
setCurrentScope
(Scope scope) Deprecated.
-
Constructor Details
-
ThreadLocalScopeManager
public ThreadLocalScopeManager()Deprecated. -
ThreadLocalScopeManager
Deprecated.
-
-
Method Details
-
getCurrentScope
Deprecated.- Specified by:
getCurrentScope
in classScopeManager
-
setCurrentScope
Deprecated.- Specified by:
setCurrentScope
in classScopeManager
-
init
Deprecated.- Specified by:
init
in classScopeManager
- Throws:
Exception
-