1
<?xml version="1.0" encoding="UTF-8" ?>
4
com.ubuntu.Upstart.xml - interface definition for manager object
6
Copyright © 2009 Canonical Ltd.
7
Author: Scott James Remnant <scott@netsplit.com>.
9
This file is free software; Canonical Ltd gives unlimited permission
10
to copy and/or distribute it, with or without modifications, as long
11
as this notice is preserved.
13
Communication and interaction with Upstart through this interface is
14
permitted without restriction.
18
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
19
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
21
<node name="/com/ubuntu/Upstart">
22
<interface name="com.ubuntu.Upstart0_6">
23
<!-- Reload all configuration sources -->
24
<method name="ReloadConfiguration">
27
<!-- Get object paths for jobs, while you can figure them out, it's
28
better form to use these -->
29
<method name="GetJobByName">
30
<arg name="name" type="s" direction="in" />
31
<arg name="job" type="o" direction="out" />
33
<method name="GetAllJobs">
34
<arg name="jobs" type="ao" direction="out" />
37
<method name="GetState">
38
<arg name="state" type="s" direction="out" />
41
<method name="Restart">
42
<annotation name="com.netsplit.Nih.Method.Async" value="true" />
45
<method name="GetEnv">
46
<arg name="job_details" type="as" direction="in" />
47
<arg name="name" type="s" direction="in" />
48
<arg name="value" type="s" direction="out" />
51
<method name="SetEnv">
52
<arg name="job_details" type="as" direction="in" />
53
<arg name="var" type="s" direction="in" />
54
<arg name="replace" type="b" direction="in" />
57
<method name="UnsetEnv">
58
<arg name="job_details" type="as" direction="in" />
59
<arg name="name" type="s" direction="in" />
62
<method name="ListEnv">
63
<arg name="job_details" type="as" direction="in" />
64
<arg name="env" type="as" direction="out" />
67
<method name="ResetEnv">
68
<arg name="job_details" type="as" direction="in" />
71
<!-- Signals for changes to the job list -->
72
<signal name="JobAdded">
73
<arg name="job" type="o" />
75
<signal name="JobRemoved">
76
<arg name="job" type="o" />
79
<!-- Signal for events being emitted -->
80
<signal name="EventEmitted">
81
<arg name="name" type="s" />
82
<arg name="env" type="as" />
85
<!-- Signal emitted after upstart restarted and reconnected to DBUS -->
86
<signal name="Restarted" />
88
<!-- Event emission -->
89
<method name="EmitEvent">
90
<annotation name="com.netsplit.Nih.Method.Async" value="true" />
91
<arg name="name" type="s" direction="in" />
92
<arg name="env" type="as" direction="in" />
93
<arg name="wait" type="b" direction="in" />
95
<method name="EmitEventWithFile">
96
<annotation name="com.netsplit.Nih.Method.Async" value="true" />
97
<arg name="name" type="s" direction="in" />
98
<arg name="env" type="as" direction="in" />
99
<arg name="wait" type="b" direction="in" />
100
<arg name="file" type="h" direction="in" />
103
<method name="NotifyDiskWriteable">
106
<method name="EndSession"/>
108
<!-- Basic information about Upstart -->
109
<property name="version" type="s" access="read" />
110
<property name="log_priority" type="s" access="readwrite" />