Tests if current thread is bound to a naming context. @return true if the current thread is bound to a naming context, otherwise false
()
| 198 | * @return <code>true</code> if the current thread is bound to a naming context, otherwise <code>false</code> |
| 199 | */ |
| 200 | public static boolean isThreadBound() { |
| 201 | return threadBindings.containsKey(Thread.currentThread()); |
| 202 | } |
| 203 | |
| 204 | |
| 205 | /** |
no test coverage detected