@Retention(value=RUNTIME) @Target(value=TYPE) public @interface AmbariService
AmbariService
annotation is used to register a class that
implements Guava's Service
with the ServiceManager
.
Classes with this annotation are bound as singletons and automatically
injected with their members. There is not need to use Singleton
or
EagerSingleton
.Copyright © 2022 Apache Software Foundation. All rights reserved.