use of org.osate.ge.internal.services.SystemInstanceLoadingService in project osate2 by osate.
the class AadlReferenceUtil method getSystemInstanceKey.
public static String getSystemInstanceKey(final InstanceObject io) {
final Bundle bundle = FrameworkUtil.getBundle(AadlReferenceUtil.class);
final SystemInstanceLoadingService sil = Objects.requireNonNull(EclipseContextFactory.getServiceContext(bundle.getBundleContext()).get(SystemInstanceLoadingService.class), "unable to get system instance loading service");
return sil.getKey(io.getSystemInstance());
}
Aggregations