Package io.ryos.rhino.sdk.providers
Interface Provider<T>
-
- Type Parameters:
T
- Type of object being fed.
- All Known Implementing Classes:
AbstractProvider
,OAuthServiceProvider
,OAuthUserProvider
,RandomInMemoryFileProvider
,TempDirectoryProvider
,UUIDProvider
public interface Provider<T>
Provider is object source to create new instances of type, T, to inject them into injection points annotated withProvider
.- Version:
- 1.0.0
- Author:
- Erhan Bagdemir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
name()
T
take()
Instance to be fed into injection point.
-
-
-
Method Detail
-
take
T take()
Instance to be fed into injection point.- Returns:
- Instance to be injected.
-
name
java.lang.String name()
-
-