blob: b33902cbfb509ed09beeda56bc288cd5feb43d3e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.model.api;
public interface SuperModelProvider {
/**
* Synchronously call {@link SuperModelListener#applicationActivated(SuperModel, ApplicationInfo)
* listener.applicationActivated()} on all active applications, and register the listener for future changes
* to the super model.
*
* WARNING: The listener may be called asynchronously before the method returns.
*/
void registerListener(SuperModelListener listener);
SuperModel getSuperModel();
}
|