Package io.lettuce.core.dynamic.segment
Class AnnotationCommandSegmentFactory
- java.lang.Object
-
- io.lettuce.core.dynamic.segment.AnnotationCommandSegmentFactory
-
- All Implemented Interfaces:
CommandSegmentFactory
public class AnnotationCommandSegmentFactory extends Object implements CommandSegmentFactory
CommandSegmentFactory
implementation that createsCommandSegments
consideringCommand
andCommandNaming
annotations.- Since:
- 5.0
- Author:
- Mark Paluch
-
-
Constructor Summary
Constructors Constructor Description AnnotationCommandSegmentFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandSegments
createCommandSegments(CommandMethod commandMethod)
CreateCommandSegments
for aCommandMethod
.
-
-
-
Method Detail
-
createCommandSegments
public CommandSegments createCommandSegments(CommandMethod commandMethod)
Description copied from interface:CommandSegmentFactory
CreateCommandSegments
for aCommandMethod
.- Specified by:
createCommandSegments
in interfaceCommandSegmentFactory
- Parameters:
commandMethod
- must not benull
.- Returns:
- the
CommandSegments
.
-
-