blob: 26853126e9eb680c26b5fbf846d6940ac8b40eab [file] [log] [blame]
function BundleContext(bundle, framework) {
this._bundle = bundle;
this._framework = framework;
}
BundleContext.prototype = {
getBundle : function() {
return this._bundle;
},
getBundles : function() {
return this._framework.getBundles();
},
getProperty : function(name) {
return this._framework.getProperty(name);
},
installBundle : function(location, headers) {
return this._framework.installBundle(location, headers);
}
};