return getImplementation(BundleRecorder.class);
}
@Override
public long recordInstall(File bundleFile, String groupId, int startLevel) throws IOException {
BundleRecorder recorder = getBundleRecorder();
try {
return recorder.recordInstall(bundleFile, groupId, startLevel);
} finally {
kernel.getProxyManager().destroyProxy(recorder);
}
}