public interface ScopedProviderRegistry<T,E>
| Modifier and Type | Method and Description |
|---|---|
ScopedProvider<E> |
register(Provider<T> provider)
Register in Testatoo an implementation provider.
|
ScopedProvider<E> |
register(T instance)
Register in Testatoo an exetrnal built implementation.
|
ScopedProvider<E> register(T instance)
instance - The object instance to register. I.e. Selenium Server, Selenium Session, WebDriver, ...ScopedProvider<E> register(Provider<T> provider)
Provider are usually created by builders with the create...() methods
in Tesatoo module configuration. But you can provide you own implementation if you need.provider - A Provider which will return the implementation when calledCopyright © 2008-2011 Ovea. All Rights Reserved.