public ServiceReferenceImpl(BundleContextImpl bundleContext, String[] clazzes, IDictionary <string, object> properties, Object service) { this.bundleContext = bundleContext; this.clazzes = clazzes; this.properties = properties; this.service = service; }
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; }