- Type Parameters:
T
- the type of object that this factory creates
- All Known Implementing Classes:
- RatpackMainServerFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface Factory<T>
An object that creates another.
Factories are expected to create a new object each time.
Implementors should explain there behaviour if they do not do this.