Package it.tidalwave.util.spi
Class AsDelegateProvider.Locator
- java.lang.Object
-
- it.tidalwave.util.spi.AsDelegateProvider.Locator
-
- Enclosing interface:
- AsDelegateProvider
public static final class AsDelegateProvider.Locator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Locator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AsDelegateProvider
find()
static void
reset()
This method is for testing only. Resets the globalAsDelegateProvider
; it must be called at the test completion wheneverset(AsDelegateProvider)
has been called, to avoid polluting the context of further tests.static void
set(AsDelegateProvider provider)
This method is for testing only. Sets the globalAsDelegateProvider
.
-
-
-
Method Detail
-
find
@Nonnull public static AsDelegateProvider find()
-
set
public static void set(@Nonnull AsDelegateProvider provider)
This method is for testing only. Sets the globalAsDelegateProvider
.- Parameters:
provider
- the provider- See Also:
reset()
-
reset
public static void reset()
This method is for testing only. Resets the globalAsDelegateProvider
; it must be called at the test completion wheneverset(AsDelegateProvider)
has been called, to avoid polluting the context of further tests.- See Also:
set(AsDelegateProvider)
-
-