public Class<?> preFindClass(String name, BundleClassLoader classLoader, BundleData data) throws ClassNotFoundException {
return null;
}
public Class<?> postFindClass(String name, BundleClassLoader classLoader, BundleData data) throws ClassNotFoundException {
SharedLibraryRegistry sharedLibraryRegistry = BundleHelper.getSharedLibraryRegistry();
if (sharedLibraryRegistry == null) {
return null;
}
List<Bundle> dependentSharedLibBundles = sharedLibraryRegistry.getDependentSharedLibBundles(data.getBundleID());
if (dependentSharedLibBundles != null) {
for (Bundle sharedLibBundle : dependentSharedLibBundles) {
try {
return sharedLibBundle.loadClass(name);
} catch (ClassNotFoundException e) {