Class ExternalModuleCreatorProvider

java.lang.Object
io.helidon.pico.tools.ExternalModuleCreatorProvider
All Implemented Interfaces:
Provider<ExternalModuleCreator>

@Singleton public class ExternalModuleCreatorProvider extends Object implements Provider<ExternalModuleCreator>
Provides access to the global singleton ExternalModuleCreator in use.
  • Constructor Details

    • ExternalModuleCreatorProvider

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

    • get

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

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