Exemplo n.º 1
0
 public ServiceReferenceImpl(BundleContextImpl bundleContext, String[] clazzes, IDictionary <string, object> properties, Object service)
 {
     this.bundleContext = bundleContext;
     this.clazzes       = clazzes;
     this.properties    = properties;
     this.service       = service;
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public ServiceRegistrationImpl(FrameworkImpl framework, BundleContextImpl bundleContext, ServiceReferenceImpl reference)
 {
     this.framework     = framework;
     this.bundleContext = bundleContext;
     this.reference     = reference;
 }