示例#1
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)
示例#2
0
    def publish(self):
        """Publish the module."""
        TaskContainer.set_namespace(PAYLOADS.namespace)

        self._packages.publish()

        DBus.publish_object(PAYLOADS.object_path, PayloadsInterface(self))
        DBus.register_service(PAYLOADS.service_name)
示例#3
0
    def publish(self):
        """Publish the boss."""
        TaskContainer.set_namespace(BOSS.namespace)

        # Publish submodules.
        self._ui_module.publish()

        DBus.publish_object(BOSS.object_path, BossInterface(self))
        DBus.register_service(BOSS.service_name)
示例#4
0
    def publish(self):
        """Publish the module."""
        TaskContainer.set_namespace(STORAGE.namespace)

        for kickstart_module in self._modules:
            kickstart_module.publish()

        DBus.publish_object(STORAGE.object_path, StorageInterface(self))
        DBus.register_service(STORAGE.service_name)
示例#5
0
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(SUBSCRIPTION.namespace)
     DBus.publish_object(SUBSCRIPTION.object_path,
                         SubscriptionInterface(self))
     DBus.register_service(SUBSCRIPTION.service_name)
示例#6
0
 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)
示例#7
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)
示例#8
0
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(USERS.namespace)
     DBus.publish_object(USERS.object_path, UsersInterface(self))
     DBus.register_service(USERS.service_name)
示例#9
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)
示例#10
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)
示例#11
0
 def publish(self):
     """Publish the DBus objects."""
     TaskContainer.set_namespace(KDUMP.namespace)
     DBus.publish_object(KDUMP.object_path, KdumpInterface(self))
     DBus.register_service(KDUMP.service_name)
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(HELLO_WORLD.namespace)
     DBus.publish_object(HELLO_WORLD.object_path, HelloWorldInterface(self))
     DBus.register_service(HELLO_WORLD.service_name)
示例#13
0
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(LOCALIZATION.namespace)
     DBus.publish_object(LOCALIZATION.object_path,
                         LocalizationInterface(self))
     DBus.register_service(LOCALIZATION.service_name)
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(PACKAGE_REMOVE.namespace)
     DBus.publish_object(PACKAGE_REMOVE.object_path,
                         PackageRemoveInterface(self))
     DBus.register_service(PACKAGE_REMOVE.service_name)