osgi uses the new API