Class InterceptorCreatorProvider

java.lang.Object
io.helidon.inject.tools.InterceptorCreatorProvider
All Implemented Interfaces:
Provider<InterceptorCreator>

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

    • InterceptorCreatorProvider

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

    • get

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

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