e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 61 through 70 of 216 (0.0020 seconds)
Class: org.apache.batik.ext.awt.image.rendered.TileGrid  ©, Rating: 0% of 0, C2

179 // So don't cache it (returning is probably fine since it 180 // won't come back to haunt us... 181 if (Thread.currentThread().isInterrupted()) 182 return ras; 183

Class: org.apache.tomcat.util.log.SystemLogHandler  ©, Rating: 0% of 0, C2

119 Stack stack = (Stack)logs.get(Thread.currentThread()); 120 if (stack != null && !stack.isEmpty()) { 121 CaptureLog log = (CaptureLog)stack.peek(); 122 if (log != null) { 123 PrintStream ps = log.getStream();

Class: org.apache.tomcat.util.log.SystemLogHandler  ©, Rating: 0% of 0, C2

097 Stack stack = (Stack)logs.get(Thread.currentThread()); 098 if (stack == null || stack.isEmpty()) { 099 return null; 100 } 101 CaptureLog log = (CaptureLog)stack.pop();

Class: org.apache.tomcat.util.log.SystemLogHandler  ©, Rating: 0% of 0, C1

082 } 083 Thread thread = Thread.currentThread(); 084 Stack stack = (Stack)logs.get(thread); 085 if (stack == null) { 086 stack = new Stack();

Class: org.springframework.util.ClassUtils  ©, Rating: 0% of 0, C2

072 return Array.newInstance(elementClass, 0).getClass(); 073 } 074 return Class.forName(name, true, Thread.currentThread().getContextClassLoader()); 075 } 076

Class: org.springframework.util.ClassUtils  ©, Rating: 0% of 0, C2

069 // special handling for array class names 070 String elementClassName = name.substring(0, name.length() - ARRAY_SUFFIX.length()); 071 Class elementClass = Class.forName(elementClassName, true, Thread.currentThread().getContextClassLoader()); 072 return Array.newInstance(elementClass, 0).getClass(); 073 }

Class: org.apache.tools.ant.util.LoaderUtils  ©, Rating: 0% of 0, C1

045 */ 046 public static ClassLoader getContextClassLoader() { 047 Thread currentThread = Thread.currentThread(); 048 return currentThread.getContextClassLoader(); 049 }

Class: org.apache.tools.ant.util.LoaderUtils  ©, Rating: 0% of 0, C1

033 */ 034 public static void setContextClassLoader(ClassLoader loader) { 035 Thread currentThread = Thread.currentThread(); 036 currentThread.setContextClassLoader(loader); 037 }

Class: org.springframework.util.MethodInvoker  ©, Rating: 0% of 0, C1

127 String className = staticMethod.substring(0, lastDotIndex); 128 String methodName = staticMethod.substring(lastDotIndex + 1); 129 setTargetClass(Class.forName(className, true, Thread.currentThread().getContextClassLoader())); 130 setTargetMethod(methodName); 131 }

Class: org.apache.axis.utils.ClassUtils  ©, Rating: 0% of 0, C1

183 try { 184 // Try the context class loader 185 ClassLoader classLoader = 186 Thread.currentThread().getContextClassLoader(); 187 return Class.forName(className, true, classLoader);

Result Page:  1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10   Next