blob: 578af0cf4f57a3abe5213e066536619972a38956 [file] [log] [blame] [edit]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.sys2;
using fuchsia.component;
/// An interface implemented by ComponentManager and exposed in the Hub to
/// allow component tools to resolve component manifests.
[Discoverable]
protocol ResolveComponent {
/// Resolves the component associated with the provided relative moniker.
/// The function returns once the component successfully resolves and the Hub
/// is updated, or the operation fails.
Resolve(string:fuchsia.component.MAX_MONIKER_LENGTH moniker) -> () error fuchsia.component.Error;
};