Searched refs:classLoader (Results 1 - 25 of 46) sorted by relevance

12

/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/
H A DClassMap.java52 public void clear(ClassLoader classLoader) { argument
53 getMap(classLoader).clear();
62 ClassLoader classLoader = key.getClassLoader();
63 return getMap(classLoader);
67 private Map<Class<?>, V> getMap(ClassLoader classLoader) { argument
68 Object map = ClassLoaderLocalMap.get(classLoader, this);
71 ClassLoaderLocalMap.put(classLoader, this, map);
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
H A DClassLoaderResourceLoader.java53 private final ClassLoader classLoader; field in class:ClassLoaderResourceLoader
56 public ClassLoaderResourceLoader(ClassLoader classLoader, String basePath) { argument
57 this.classLoader = classLoader;
61 public ClassLoaderResourceLoader(ClassLoader classLoader) { argument
62 this(classLoader, ".");
68 InputStream stream = classLoader.getResourceAsStream(path);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/
H A DRobolectricTestRunnerClassLoaderSetup.java15 ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
16 Assert.assertEquals(classLoader.getClass().getName(), RobolectricClassLoader.class.getName());
/external/apache-http/src/org/apache/commons/logging/
H A DLogFactory.java685 * @param classLoader ClassLoader for which to release the LogFactory
687 public static void release(ClassLoader classLoader) { argument
690 logDiagnostic("Releasing factory for classloader " + objectId(classLoader));
693 if (classLoader == null) {
699 LogFactory factory = (LogFactory) factories.get(classLoader);
702 factories.remove(classLoader);
831 ClassLoader classLoader = null;
840 classLoader = (ClassLoader)method.invoke(Thread.currentThread(),
873 classLoader = getClassLoader(LogFactory.class);
890 return classLoader;
934 cacheFactory(ClassLoader classLoader, LogFactory factory) argument
993 newFactory(final String factoryClass, final ClassLoader classLoader, final ClassLoader contextClassLoader) argument
1040 newFactory(final String factoryClass, final ClassLoader classLoader) argument
1058 createFactory(String factoryClass, ClassLoader classLoader) argument
1401 getConfigurationFile( ClassLoader classLoader, String fileName) argument
1649 logHierarchy(String prefix, ClassLoader classLoader) argument
[all...]
/external/dexmaker/src/main/java/com/google/dexmaker/
H A DAppDataDirGuesser.java30 ClassLoader classLoader = guessSuitableClassLoader();
33 clazz.cast(classLoader);
35 String pathFromThisClassLoader = getPathFromThisClassLoader(classLoader, clazz);
50 private String getPathFromThisClassLoader(ClassLoader classLoader, argument
57 return (String) pathField.get(classLoader);
65 String result = classLoader.toString();
/external/littlemock/src/com/google/testing/littlemock/
H A DAppDataDirGuesser.java42 ClassLoader classLoader = AppDataDirGuesser.class.getClassLoader();
45 clazz.cast(classLoader);
48 getPathFromPathClassLoader(classLoader, clazz);
62 ClassLoader classLoader, Class<?> pathClassLoaderClass) {
68 return (String) pathField.get(classLoader);
79 String result = classLoader.toString();
61 getPathFromPathClassLoader( ClassLoader classLoader, Class<?> pathClassLoaderClass) argument
/external/jsilver/src/org/clearsilver/
H A DFactoryLoader.java106 ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
108 loadClass(factoryClassName, classLoader);
120 ClassLoader classLoader) throws ClassNotFoundException {
122 classLoader);
119 loadClass(String className, ClassLoader classLoader) argument
/external/robolectric/src/main/java/com/xtremelabs/robolectric/
H A DRobolectricTestRunner.java66 private RobolectricClassLoader classLoader; field in class:RobolectricTestRunner
124 * @param classLoader a custom RobolectricClassLoader to be used.
127 public RobolectricTestRunner(final Class<?> testClass, RobolectricClassLoader classLoader) argument
131 isInstrumented() ? null : classLoader,
229 protected RobolectricTestRunner(Class<?> testClass, ClassHandler classHandler, RobolectricClassLoader classLoader, RobolectricConfig robolectricConfig) throws InitializationError { argument
230 this(testClass, classHandler, classLoader, robolectricConfig, new SQLiteMap());
246 * @param classLoader the {@link RobolectricClassLoader}
250 protected RobolectricTestRunner(final Class<?> testClass, final ClassHandler classHandler, final RobolectricClassLoader classLoader, final RobolectricConfig robolectricConfig, final DatabaseMap map) throws InitializationError { argument
252 : ensureClassLoaderNotNull(classLoader).bootstrap(testClass));
256 this.classLoader
282 ensureClassLoaderNotNull( RobolectricClassLoader classLoader) argument
[all...]
/external/smack/src/org/jivesoftware/smack/
H A DSmackConfiguration.java84 for (ClassLoader classLoader : classLoaders) {
85 Enumeration<URL> configEnum = classLoader.getResources("META-INF/smack-config.xml");
364 for (ClassLoader classLoader : classLoaders) {
365 if (classLoader != null) {
366 loaders.add(classLoader);
/external/javassist/src/main/javassist/bytecode/annotation/
H A DAnnotationImpl.java43 private ClassLoader classLoader; field in class:AnnotationImpl
77 classLoader = loader;
99 annotationType = classLoader.loadClass(typeName);
148 return mv.getValue(classLoader, pool, method);
166 return mv.getValue(classLoader, pool, method);
200 value = mv.getValue(classLoader, pool, methods[i]);
260 value = mv.getValue(classLoader, pool, methods[i]);
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/
H A DSubjectDomainCombinerTest.java93 ClassLoader classLoader = new URLClassLoader(new URL[] { url });
103 classLoader, principals);
110 assertSame("ClassLoader", classLoader, pd[0].getClassLoader());
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/
H A DPrecompiledTemplateLoader.java57 ClassLoader classLoader = getClass().getClassLoader();
60 BaseCompiledTemplate compiledTemplate = loadTemplateObject(className, classLoader);
80 protected BaseCompiledTemplate loadTemplateObject(String className, ClassLoader classLoader) { argument
82 Class<?> templateClass = classLoader.loadClass(className);
H A DPrecompiledTemplateMapFileReader.java135 ClassLoader classLoader = getClass().getClassLoader();
136 InputStream in = classLoader.getResourceAsStream(templateMapFile);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
H A DShadowWrangler.java131 public static Class<?> loadClass(String paramType, ClassLoader classLoader) { argument
144 clazz = classLoader.loadClass(paramType);
218 public Class<?> findShadowClass(Class<?> originalClass, ClassLoader classLoader) { argument
223 return loadClass(declaredShadowClassName, classLoader);
288 private ClassLoader classLoader; field in class:ShadowWrangler.InvocationPlan
298 this.classLoader = clazz.getClassLoader();
337 Class<?> originalClass = loadClass(clazz.getName(), classLoader);
353 method = getMethod(findShadowClass(clazz, classLoader), methodName, paramClasses);
374 return findShadowClass(declaringClass, classLoader);
397 paramClasses[i] = loadClass(paramTypes[i], classLoader);
[all...]
/external/smack/src/org/jivesoftware/smack/provider/
H A DProviderManager.java159 for (ClassLoader classLoader : classLoaders) {
160 Enumeration<URL> providerEnum = classLoader.getResources(
426 for (ClassLoader classLoader : classLoaders) {
427 if (classLoader != null) {
428 loaders.add(classLoader);
/external/javassist/src/main/javassist/scopedpool/
H A DScopedClassPool.java39 protected WeakReference classLoader; field in class:ScopedClassPool
84 this.classLoader = new WeakReference(cl);
112 return (ClassLoader)classLoader.get();
/external/apache-http/src/org/apache/commons/logging/impl/
H A DSimpleLog.java638 ClassLoader classLoader = null;
640 if (classLoader == null) {
648 classLoader = (ClassLoader)method.invoke(Thread.currentThread(),
685 if (classLoader == null) {
686 classLoader = SimpleLog.class.getClassLoader();
690 return classLoader;
H A DLogFactoryImpl.java473 ClassLoader classLoader = getClassLoader(clazz);
476 if (classLoader == null) {
479 classLoaderName = objectId(classLoader);
1272 * @param classLoader is the classloader that we were trying to load the
1280 ClassLoader classLoader,
1279 handleFlawedDiscovery(String logAdapterClassName, ClassLoader classLoader, Throwable discoveryFlaw) argument
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
H A DJUnitCodeGen.java64 ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
65 if ( classLoader == null ) {
66 classLoader = JUnitCodeGen.class.getClassLoader();
68 return classLoader;
71 public JUnitCodeGen(GrammarInfo grammarInfo, ClassLoader classLoader, String testsuiteDir) throws ClassNotFoundException { argument
76 Class parserClass = locateParserClass( grammarInfo, classLoader );
85 private Class locateParserClass(GrammarInfo grammarInfo, ClassLoader classLoader) throws ClassNotFoundException { argument
90 return classLoader.loadClass( parserClassName );
/external/robolectric/lib/main/
H A Dcommons-logging-1.1.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/logging/ ...
/external/jmonkeyengine/engine/src/core/com/jme3/export/
H A DSavableClassUtil.java193 for (ClassLoader classLoader : loaders){
195 return (Savable) classLoader.loadClass(newClassName).newInstance();
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.apache.commons.logging_1.0.4.v201005080501.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/
H A DHtmlTooltipHelper.java272 ClassLoader classLoader = PropertyTable.class.getClassLoader();
274 classLoader.loadClass("org.eclipse.jface.internal.text.html.HTML2TextReader");
/external/chromium_org/third_party/npapi/npspy/extern/java/
H A Djriext.h153 (*JRI_SetClassLoader_t)(JRIEnv* env, jref classLoader);
210 #define JRI_SetClassLoader(env, classLoader) \
211 ((*(env))->SetClassLoader(env, classLoader))
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/
H A DSerializer.java217 ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
219 Enumeration<URL> resources = classLoader.getResources(path);

Completed in 691 milliseconds

12