SingletonScopeManager which manages a separate Scope per thread.Scope.setScopeManager(new ThreadLocalScopeManager()).
| Modifier and Type | Field and Description |
|---|---|
| private final Scope | |
| private final ThreadLocal |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized Scope | |
| protected Scope | |
| protected synchronized void |
| rootScope | back to summary |
|---|---|
| private final Scope rootScope | |
| threadLocalScopes | back to summary |
|---|---|
| private final ThreadLocal<Scope> threadLocalScopes | |
| ThreadLocalScopeManager | back to summary |
|---|---|
| public ThreadLocalScopeManager() | |
| ThreadLocalScopeManager | back to summary |
|---|---|
| public ThreadLocalScopeManager(Scope rootScope) | |
| getCurrentScope | back to summary |
|---|---|
| public synchronized Scope getCurrentScope() Implements abstract liquibase.
| |
| init | back to summary |
|---|---|
| protected Scope init(Scope scope) throws Exception Implements abstract liquibase.
| |
| setCurrentScope | back to summary |
|---|---|
| protected synchronized void setCurrentScope(Scope scope) Implements abstract liquibase.
| |