public class ConnectionHolder extends Object
Connection in a threadlocal object.| Modifier and Type | Field and Description |
|---|---|
protected static ThreadLocal<Connection> |
connectionHolder |
| Constructor and Description |
|---|
ConnectionHolder() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear() |
static Connection |
get() |
static void |
setConnection(Connection connection) |
protected static ThreadLocal<Connection> connectionHolder
public static Connection get()
public static void setConnection(Connection connection)
public static void clear()
Copyright © 2017 Flowable. All rights reserved.