Package it.tidalwave.util.spi
Interface AsDelegateProvider
-
- All Known Implementing Classes:
AsDelegateProvider.EmptyAsDelegateProvider
public interface AsDelegateProvider
- Author:
- Fabrizio Giudici
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AsDelegateProvider.EmptyAsDelegateProvider
static class
AsDelegateProvider.Locator
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Class<AsDelegateProvider>
_AsDelegateProvider_
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description AsDelegate
createAsDelegate(java.lang.Object datum)
Creates anAsDelegate
for the given objectstatic AsDelegateProvider
empty()
Returns an empty implementation.
-
-
-
Field Detail
-
_AsDelegateProvider_
static final java.lang.Class<AsDelegateProvider> _AsDelegateProvider_
-
-
Method Detail
-
createAsDelegate
@Nonnull AsDelegate createAsDelegate(@Nonnull java.lang.Object datum)
Creates anAsDelegate
for the given object- Parameters:
datum
- the object- Returns:
AsDelegate
-
empty
@Nonnull static AsDelegateProvider empty()
Returns an empty implementation. Useful for setting up test environment.AsDelegateProvider.Locator.set(AsDelegateProvider.empty());
- Returns:
- the empty implementation
- Since:
- 3.2-ALPHA-1
-
-