-
- Type Parameters:
T
-
- All Superinterfaces:
ContextualFactory<Command>
,ExecutionParticipantFactory<Command>
,Factory<Context,Command>
- All Known Implementing Classes:
CompoundCommandFactory
public interface CommandFactory extends ExecutionParticipantFactory<Command>
- Author:
- Pavel Vlasov
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default CommandFactory
contextify(SupplierFactory<Context> contextSupplierFactory)
-
-
-
Method Detail
-
contextify
default CommandFactory contextify(SupplierFactory<Context> contextSupplierFactory)
- Parameters:
contextSupplierFactory
- Factory which creates a context to be passed to this factory to create supplier.- Returns:
- Command factory which creates a context using the context supplier factory and then uses that context and this factory to create a command.
-
-