1 <?xml version="1.0" encoding="UTF-8"?>
2 <node name="/org/genivi/NodeStartupController1/LegacyAppHandler">
4 org.genivi.LegacyAppHandler1:
5 @short_description: Interface for registering legacy apps with the NSM
7 Legacy applications are applications that provide a systemd unit
8 file but are unaware or do not make use of any GENIVI components.
10 The GENIVI Legacy App Handler registers these apps with the NSM
11 (Node State Manager) as shutdown consumers, so that when the NSM
12 performs a shutdown it can shut down the application in reverse
13 order of their creation.
15 <interface name="org.genivi.NodeStartupController1.LegacyAppHandler">
18 @unit: An application unit filename.
19 @mode: Shutdown mode for which to register.
20 @timeout: Timeout used by the NSM to wait for the legacy
23 Registers a legacy application with the NSM as a shutdown
26 <method name="Register">
27 <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
28 <arg name="unit" type="s" direction="in"/>
29 <arg name="mode" type="i" direction="in"/>
30 <arg name="timeout" type="u" direction="in"/>