Interface CachingGeneratingDelegateFactory.DelegateWrapperFactory<T>
- Type Parameters:
T- type of the wrapper which this factory produces
- Enclosing class:
- CachingGeneratingDelegateFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
protected static interface CachingGeneratingDelegateFactory.DelegateWrapperFactory<T>
Delegate-wrapper factory responsible for creating delegate wrappers based on the specified supplier.
-
Method Summary
-
Method Details
-
create
Creates a new delegate-wrapper based on the given supplier.- Parameters:
supplier- supplier used to create the object as specified byDelegateFactory.createWrapper(Class, Supplier)- Returns:
- delegate wrapper created for the given supplier
-