Searched refs:threadBindings (Results 1 - 2 of 2) sorted by relevance

/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/resources/
H A DDirContextURLStreamHandler.java104 private static Hashtable<Thread, DirContext> threadBindings = field in class:DirContextURLStreamHandler
161 || (threadBindings.containsKey(Thread.currentThread()));
191 threadBindings.put(Thread.currentThread(), dirContext);
199 threadBindings.remove(Thread.currentThread());
219 result = threadBindings.get(currentThread);
266 return threadBindings.get(thread);
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/
H A DContextBindings.java92 private static Hashtable<Thread, Context> threadBindings = field in class:ContextBindings
208 threadBindings.put(Thread.currentThread(), context);
232 threadBindings.remove(Thread.currentThread());
243 Context context = threadBindings.get(Thread.currentThread());
268 return (threadBindings.containsKey(Thread.currentThread()));

Completed in 21 milliseconds