Same as calling ContextFactory#enterContext() on the global ContextFactory instance. @return a Context associated with the current thread @see #getCurrentContext() @see #exit() @see #call(ContextAction)
()
| 442 | * @see #call(ContextAction) |
| 443 | */ |
| 444 | public static Context enter() { |
| 445 | return enter(null, ContextFactory.getGlobal()); |
| 446 | } |
| 447 | |
| 448 | /** |
| 449 | * Get a Context associated with the current thread, using the given Context if need be. |