protected Class<?> findClass(String moduleName, String name) { try { return findLocalClass(name); } catch (ClassNotFoundException e) { return null; } }
protected Class<?> findClass(String moduleName, String name) { try { return findLocalClass(name); } catch (ClassNotFoundException e) { return null; } }
@Override protected Class<?> findClass(String name) throws ClassNotFoundException { return findLocalClass(name); }
@Override protected Class<?> findClass(String name) throws ClassNotFoundException { return findLocalClass(name); }
@Override protected Class<?> findClass(String name) throws ClassNotFoundException { return findLocalClass(name); }
@Override protected Class<?> findClass(String name) throws ClassNotFoundException { return findLocalClass(name); }
@Override protected Class<?> findClass(String name) throws ClassNotFoundException { return findLocalClass(name); }
@Override protected Class<?> findClass(String name) throws ClassNotFoundException { return findLocalClass(name); }
/** * Finds a class local to this bundle. Only the classloader for this bundle is searched. * @param name The name of the class to find. * @return The loaded Class or null if the class is not found. * @throws ClassNotFoundException */ public Class<?> findLocalClass(String name) throws ClassNotFoundException { long start = 0; if (debug.DEBUG_LOADER) { Debug.println("BundleLoader[" + this + "].findLocalClass(" + name + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ start = System.currentTimeMillis(); } try { Class<?> clazz = getModuleClassLoader().findLocalClass(name); if (debug.DEBUG_LOADER && clazz != null) { long time = System.currentTimeMillis() - start; Debug.println("BundleLoader[" + this + "] found local class " + name + " " + time + "ms"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } return clazz; } catch (ClassNotFoundException e) { if (e.getCause() instanceof BundleException) { // Here we assume this is because of a lazy activation error throw e; } return null; } }
/** * Finds a class local to this bundle. Only the classloader for this bundle is searched. * @param name The name of the class to find. * @return The loaded Class or null if the class is not found. * @throws ClassNotFoundException */ public Class<?> findLocalClass(String name) throws ClassNotFoundException { long start = 0; if (debug.DEBUG_LOADER) { Debug.println("BundleLoader[" + this + "].findLocalClass(" + name + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ start = System.currentTimeMillis(); } try { Class<?> clazz = getModuleClassLoader().findLocalClass(name); if (debug.DEBUG_LOADER && clazz != null) { long time = System.currentTimeMillis() - start; Debug.println("BundleLoader[" + this + "] found local class " + name + " " + time + "ms"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } return clazz; } catch (ClassNotFoundException e) { if (e.getCause() instanceof BundleException) { // Here we assume this is because of a lazy activation error throw e; } return null; } }
/** * Finds a class local to this bundle. Only the classloader for this bundle is searched. * @param name The name of the class to find. * @return The loaded Class or null if the class is not found. * @throws ClassNotFoundException */ public Class<?> findLocalClass(String name) throws ClassNotFoundException { long start = 0; if (debug.DEBUG_LOADER) { Debug.println("BundleLoader[" + this + "].findLocalClass(" + name + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ start = System.currentTimeMillis(); } try { Class<?> clazz = getModuleClassLoader().findLocalClass(name); if (debug.DEBUG_LOADER && clazz != null) { long time = System.currentTimeMillis() - start; Debug.println("BundleLoader[" + this + "] found local class " + name + " " + time + "ms"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } return clazz; } catch (ClassNotFoundException e) { if (e.getCause() instanceof BundleException) { // Here we assume this is because of a lazy activation error throw e; } return null; } }
/** * Finds a class local to this bundle. Only the classloader for this bundle is searched. * @param name The name of the class to find. * @return The loaded Class or null if the class is not found. * @throws ClassNotFoundException */ public Class<?> findLocalClass(String name) throws ClassNotFoundException { long start = 0; if (debug.DEBUG_LOADER) { Debug.println("BundleLoader[" + this + "].findLocalClass(" + name + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ start = System.currentTimeMillis(); } try { Class<?> clazz = getModuleClassLoader().findLocalClass(name); if (debug.DEBUG_LOADER && clazz != null) { long time = System.currentTimeMillis() - start; Debug.println("BundleLoader[" + this + "] found local class " + name + " " + time + "ms"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } return clazz; } catch (ClassNotFoundException e) { if (e.getCause() instanceof BundleException) { // Here we assume this is because of a lazy activation error throw e; } return null; } }
/** * Finds a class local to this bundle. Only the classloader for this bundle is searched. * @param name The name of the class to find. * @return The loaded Class or null if the class is not found. * @throws ClassNotFoundException */ public Class<?> findLocalClass(String name) throws ClassNotFoundException { if (debug.DEBUG_LOADER) Debug.println("BundleLoader[" + this + "].findLocalClass(" + name + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ try { Class<?> clazz = getModuleClassLoader().findLocalClass(name); if (debug.DEBUG_LOADER && clazz != null) Debug.println("BundleLoader[" + this + "] found local class " + name); //$NON-NLS-1$ //$NON-NLS-2$ return clazz; } catch (ClassNotFoundException e) { if (e.getCause() instanceof BundleException) { // Here we assume this is because of a lazy activation error throw e; } return null; } }
/** * Finds a class local to this bundle. Only the classloader for this bundle is searched. * @param name The name of the class to find. * @return The loaded Class or null if the class is not found. * @throws ClassNotFoundException */ public Class<?> findLocalClass(String name) throws ClassNotFoundException { if (debug.DEBUG_LOADER) Debug.println("BundleLoader[" + this + "].findLocalClass(" + name + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ try { Class<?> clazz = getModuleClassLoader().findLocalClass(name); if (debug.DEBUG_LOADER && clazz != null) Debug.println("BundleLoader[" + this + "] found local class " + name); //$NON-NLS-1$ //$NON-NLS-2$ return clazz; } catch (ClassNotFoundException e) { if (e.getCause() instanceof BundleException) { // Here we assume this is because of a lazy activation error throw e; } return null; } }