java.lang.Object
io.lettuce.core.dynamic.segment.AnnotationCommandSegmentFactory
- All Implemented Interfaces:
CommandSegmentFactory
public class AnnotationCommandSegmentFactory extends Object implements CommandSegmentFactory
CommandSegmentFactory implementation that creates CommandSegments considering Command and
CommandNaming annotations.- Since:
- 5.0
- Author:
- Mark Paluch
-
Constructor Summary
Constructors Constructor Description AnnotationCommandSegmentFactory() -
Method Summary
Modifier and Type Method Description CommandSegmentscreateCommandSegments(CommandMethod commandMethod)CreateCommandSegmentsfor aCommandMethod.
-
Constructor Details
-
AnnotationCommandSegmentFactory
public AnnotationCommandSegmentFactory()
-
-
Method Details
-
createCommandSegments
Description copied from interface:CommandSegmentFactoryCreateCommandSegmentsfor aCommandMethod.- Specified by:
createCommandSegmentsin interfaceCommandSegmentFactory- Parameters:
commandMethod- must not benull.- Returns:
- the
CommandSegments.
-