java.lang.Object
io.helidon.pico.tools.ApplicationCreatorProvider
- All Implemented Interfaces:
Provider<ApplicationCreator>
@Singleton
public class ApplicationCreatorProvider
extends Object
implements Provider<ApplicationCreator>
Provides access to the global singleton
ApplicationCreatorProvider in use.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.this is a Java ServiceLoader implementation and the constructor should not be used directly -
Method Summary
Modifier and TypeMethodDescriptionget()static ApplicationCreatorinstance()Returns the global instance that was service loaded.
-
Constructor Details
-
ApplicationCreatorProvider
Deprecated.this is a Java ServiceLoader implementation and the constructor should not be used directlyService loader based constructor.
-
-
Method Details
-
get
- Specified by:
getin interfaceProvider<ApplicationCreator>
-
instance
Returns the global instance that was service loaded. Note that this call is guaranteed to return a result since the default implementation is here in this module.- Returns:
- the global service instance with the highest weight
-