1 package org.simantics.scl.reflection.internal.registry;
3 import org.osgi.framework.Bundle;
5 public class ExternalClass {
6 public final Bundle bundle;
7 public final String className;
8 public final String alternativeName;
10 public ExternalClass(Bundle bundle, String className, String alternativeName) {
12 this.className = className;
13 this.alternativeName = alternativeName;
16 public Class<?> loadClass() {
18 return bundle.loadClass(className);
19 } catch (ClassNotFoundException e) {