コード例 #1
0
 def publish(self):
     """Publish the boss."""
     DBus.publish_object(BOSS.object_path,
                         AnacondaBossInterface(self))
     DBus.publish_object(BOSS_INSTALLATION.object_path,
                         InstallationInterface(self._install_manager))
     DBus.register_service(BOSS.service_name)
コード例 #2
0
ファイル: storage.py プロジェクト: rvykydal/anaconda
    def publish(self):
        """Publish the module."""
        for kickstart_module in self._modules:
            kickstart_module.publish()

        DBus.publish_object(STORAGE.object_path, StorageInterface(self))
        DBus.register_service(STORAGE.service_name)
コード例 #3
0
    def publish(self):
        """Publish the module."""
        for kickstart_module in self._modules:
            kickstart_module.publish()

        DBus.publish_object(STORAGE.object_path, StorageInterface(self))
        DBus.register_service(STORAGE.service_name)
コード例 #4
0
    def publish(self):
        """Publish the module."""
        TaskContainer.set_namespace(NETWORK.namespace)
        self._firewall_module.publish()

        DBus.publish_object(NETWORK.object_path, NetworkInterface(self))
        DBus.register_service(NETWORK.service_name)
コード例 #5
0
    def publish(self):
        """Publish the module."""
        # Publish bar.
        DBus.publish_object(BarInterface(self), MODULE_BAR_PATH)
        self.publish_task(BarTask(), MODULE_BAR_PATH)
        DBus.register_service(MODULE_BAR_NAME)

        # Start to watch the timezone module.
        self._timezone_module.cached_properties_changed.connect(
            self._timezone_callback)
        self._timezone_module.connect_once_available()
コード例 #6
0
ファイル: bar.py プロジェクト: qinshulei/anaconda
    def publish(self):
        """Publish the module."""
        # Publish bar.
        DBus.publish_object(BAR.object_path, BarInterface(self))
        self.publish_task(BAR.namespace, BarTask())
        DBus.register_service(BAR.service_name)

        # Start to watch the timezone module.
        self._timezone_module.cached_properties_changed.connect(
            self._timezone_callback)
        self._timezone_module.connect_once_available()
コード例 #7
0
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(PAYLOAD.namespace)
     DBus.publish_object(PAYLOAD.object_path, PayloadInterface(self))
     DBus.register_service(PAYLOAD.service_name)
コード例 #8
0
ファイル: timezone.py プロジェクト: rvykydal/anaconda
 def publish(self):
     """Publish the module."""
     DBus.publish_object(TIMEZONE.object_path, TimezoneInterface(self))
     DBus.register_service(TIMEZONE.service_name)
コード例 #9
0
ファイル: bar.py プロジェクト: fsl-jyt/anaconda
 def publish(self):
     """Publish the module."""
     DBus.publish_object(self, MODULE_BAR_PATH)
     self.publish_tasks()
     DBus.register_service(MODULE_BAR_NAME)
コード例 #10
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(FooInterface(self), MODULE_FOO_PATH)
     self.publish_task(FooTask(), MODULE_FOO_PATH)
     DBus.register_service(MODULE_FOO_NAME)
コード例 #11
0
 def publish(self):
     """Publish the boss."""
     DBus.publish_object(AnacondaBossInterface(self), DBUS_BOSS_PATH)
     DBus.publish_object(InstallationInterface(self._install_manager),
                         DBUS_BOSS_INSTALLATION_PATH)
     DBus.register_service(DBUS_BOSS_NAME)
コード例 #12
0
ファイル: timezone.py プロジェクト: kalev/anaconda-1
 def publish(self):
     """Publish the module."""
     DBus.publish_object(TIMEZONE.object_path, TimezoneInterface(self))
     DBus.register_service(TIMEZONE.service_name)
コード例 #13
0
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(SERVICES.namespace)
     DBus.publish_object(SERVICES.object_path, ServicesInterface(self))
     DBus.register_service(SERVICES.service_name)
コード例 #14
0
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(BAZ.namespace)
     DBus.publish_object(BAZ.object_path, BazInterface(self))
     DBus.register_service(BAZ.service_name)
コード例 #15
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(FOO.object_path, FooInterface(self))
     self.publish_task(FOO.namespace, FooTask())
     DBus.register_service(FOO.service_name)
コード例 #16
0
ファイル: users.py プロジェクト: rvykydal/anaconda
 def publish(self):
     """Publish the module."""
     DBus.publish_object(USERS.object_path, UsersInterface(self))
     DBus.register_service(USERS.service_name)
コード例 #17
0
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(TIMEZONE.namespace)
     DBus.publish_object(TIMEZONE.object_path, TimezoneInterface(self))
     DBus.register_service(TIMEZONE.service_name)
コード例 #18
0
ファイル: payload.py プロジェクト: zhangsju/anaconda
 def publish(self):
     """Publish the module."""
     DBus.publish_object(PAYLOAD.object_path, PayloadInterface(self))
     DBus.register_service(PAYLOAD.service_name)
コード例 #19
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(SECURITY.object_path, SecurityInterface(self))
     DBus.register_service(SECURITY.service_name)
コード例 #20
0
ファイル: baz.py プロジェクト: zhangsju/anaconda
 def publish(self):
     """Publish the module."""
     DBus.publish_object(BAZ.object_path, BazInterface(self))
     DBus.register_service(BAZ.service_name)
コード例 #21
0
ファイル: security.py プロジェクト: m4d3bug/anaconda
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(SECURITY.namespace)
     DBus.publish_object(SECURITY.object_path, SecurityInterface(self))
     DBus.register_service(SECURITY.service_name)
コード例 #22
0
ファイル: baz.py プロジェクト: sanjitchak/anaconda
 def publish(self):
     """Publish the module."""
     DBus.publish_object(BAZ.object_path, BazInterface(self))
     DBus.register_service(BAZ.service_name)
コード例 #23
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(SERVICES.object_path, ServicesInterface(self))
     DBus.register_service(SERVICES.service_name)
コード例 #24
0
ファイル: security.py プロジェクト: zhangsju/anaconda
 def publish(self):
     """Publish the module."""
     DBus.publish_object(SECURITY.object_path, SecurityInterface(self))
     DBus.register_service(SECURITY.service_name)
コード例 #25
0
ファイル: payload.py プロジェクト: kalev/anaconda-1
 def publish(self):
     """Publish the module."""
     DBus.publish_object(PAYLOAD.object_path, PayloadInterface(self))
     DBus.register_service(PAYLOAD.service_name)
コード例 #26
0
ファイル: boss.py プロジェクト: m4d3bug/anaconda
    def publish(self):
        """Publish the boss."""
        TaskContainer.set_namespace(BOSS.namespace)
        DBus.publish_object(BOSS.object_path, AnacondaBossInterface(self))

        DBus.register_service(BOSS.service_name)
コード例 #27
0
ファイル: localization.py プロジェクト: kalev/anaconda-1
 def publish(self):
     """Publish the module."""
     DBus.publish_object(LOCALIZATION.object_path, LocalizationInterface(self))
     DBus.register_service(LOCALIZATION.service_name)
コード例 #28
0
ファイル: baz.py プロジェクト: fsl-jyt/anaconda
 def publish(self):
     """Publish the module."""
     DBus.publish_object(self, ADDON_BAZ_PATH)
     DBus.register_service(ADDON_BAZ_NAME)
コード例 #29
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(TimezoneInterface(self), MODULE_TIMEZONE_PATH)
     DBus.register_service(MODULE_TIMEZONE_NAME)
コード例 #30
0
ファイル: storage.py プロジェクト: sanjitchak/anaconda
 def publish(self):
     """Publish the module."""
     DBus.publish_object(STORAGE.object_path, StorageInterface(self))
     DBus.register_service(STORAGE.service_name)
コード例 #31
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(USERS.object_path, UsersInterface(self))
     DBus.register_service(USERS.service_name)
コード例 #32
0
 def publish(self):
     """Publish the boss."""
     DBus.publish_object(self, DBUS_BOSS_PATH)
     self._setup_install_manager()
     DBus.register_service(DBUS_BOSS_NAME)
コード例 #33
0
ファイル: network.py プロジェクト: zhangsju/anaconda
    def publish(self):
        """Publish the module."""
        self._firewall_module.publish()

        DBus.publish_object(NETWORK.object_path, NetworkInterface(self))
        DBus.register_service(NETWORK.service_name)
コード例 #34
0
    def publish(self):
        """Publish the boss."""
        DBus.publish_object(BOSS.object_path, AnacondaBossInterface(self))

        DBus.register_service(BOSS.service_name)
コード例 #35
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(NETWORK.object_path, NetworkInterface(self))
     DBus.register_service(NETWORK.service_name)
コード例 #36
0
ファイル: boss.py プロジェクト: rvykydal/anaconda
    def publish(self):
        """Publish the boss."""
        DBus.publish_object(BOSS.object_path,
                            AnacondaBossInterface(self))

        DBus.register_service(BOSS.service_name)