| Package | Description |
|---|---|
| org.testatoo.config |
| Modifier and Type | Class and Description |
|---|---|
class |
SingletonProvider<T>
Wrapper for
Provider which returns always the same
instance, as a singleton
Example: |
| Modifier and Type | Method and Description |
|---|---|
Provider<T> |
ProviderBuilder.build() |
| Modifier and Type | Method and Description |
|---|---|
static <T> SingletonProvider<T> |
SingletonProvider.from(Provider<T> provider)
Wrap the given
Provider to return always the same instance all the time. |
ScopedProvider<E> |
ScopedProviderRegistry.register(Provider<T> provider)
Register in Testatoo an implementation provider.
|
E |
ProviderRegistry.register(Provider<T> provider)
Register in Testatoo an implementation provider.
|
Copyright © 2008-2011 Ovea. All Rights Reserved.