Module lettuce.core

Class OutputRegistryCommandOutputFactoryResolver

java.lang.Object
io.lettuce.core.dynamic.output.CommandOutputResolverSupport
io.lettuce.core.dynamic.output.OutputRegistryCommandOutputFactoryResolver
All Implemented Interfaces:
CommandOutputFactoryResolver

public class OutputRegistryCommandOutputFactoryResolver
extends CommandOutputResolverSupport
implements CommandOutputFactoryResolver
CommandOutputFactoryResolver using OutputRegistry to resolve a CommandOutputFactory.

Types registered in OutputRegistry are inspected for the types they produce and matched with the declared repository method. If resolution yields multiple CommandOutputs, the first matched output is used.

Since:
5.0
Author:
Mark Paluch
See Also:
OutputRegistry