Bundle b = getInstalledBundle("org.openengsb.domain.example");
exampleDomainVersion = b.getVersion();
query = getOsgiService(QueryInterface.class);
persist = getOsgiService(PersistInterface.class);
registry = getOsgiService(ModelRegistry.class);
TransformationEngine engine = getOsgiService(TransformationEngine.class);
List<TransformationDescription> descriptions = generateTransformationDescriptions();
engine.saveDescriptions(descriptions);
initialized = true;
ContextHolder.get().setCurrentContextId("testcontext");
}