Class ApplicationCreatorProvider

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 Details

    • ApplicationCreatorProvider

      @Deprecated public ApplicationCreatorProvider()
      Deprecated.
      this is a Java ServiceLoader implementation and the constructor should not be used directly
      Service loader based constructor.
  • Method Details

    • get

      public ApplicationCreator get()
      Specified by:
      get in interface Provider<ApplicationCreator>
    • instance

      public static 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