public BundleImpl(FrameworkImpl framework, String bundleDirectoryPath) { this.framework = framework; this.bundleDirectoryPath = bundleDirectoryPath; this.bundleAssemblyFileName = Path.Combine(bundleDirectoryPath, BUNDLE_FILE_NAME); init(); //初始化 bundleContext = new BundleContextImpl(framework, this); }
public ServiceRegistrationImpl(FrameworkImpl framework, BundleContextImpl bundleContext, ServiceReferenceImpl reference) { this.framework = framework; this.bundleContext = bundleContext; this.reference = reference; }
public BundleContextImpl(FrameworkImpl framework, Bundle bundle) { this.framework = framework; this.bundle = bundle; }