public static Class getClassOfOpenEngSBModel(String clazz, 
            String version,
            OsgiUtilsService serviceFinder) throws ClassNotFoundException {
        ModelRegistry registry = serviceFinder.getService(ModelRegistry.class);
        ModelDescription modelDescription = new ModelDescription(clazz, version);
        Class clazzObject = registry.loadModel(modelDescription);   
        return clazzObject;
    }
public static Class getClassOfOpenEngSBModel ( String clazz , String version , OsgiUtilsService serviceFinder ) throws ClassNotFoundException { ModelRegistry registry = serviceFinder . getService ( ModelRegistry . class ) ; ModelDescription modelDescription = new ModelDescription ( clazz , version ) ; Class clazzObject = registry . loadModel ( modelDescription ) ; return clazzObject ; }
Returns the Classobject to a given clazzString and a given version.
Throws a ClassNotFoundException if the Class/Version pair is not found.