Class ActivatorCreatorProvider

java.lang.Object
io.helidon.inject.tools.ActivatorCreatorProvider
All Implemented Interfaces:
Provider<ActivatorCreator>

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

    • ActivatorCreatorProvider

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

    • get

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

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