@Mapper(componentModel = "spring") doesn't support custom name for Spring Service Annotation

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

#3019

@zurbergram

Description

Can't specify a name for the Spring Service annotation
If the interface definition something like

@Mapper(componentModel = "spring", componentModelName = "cakeMapperV2")
 public interface CakeMapper{
     Cake map(Cupcake cupcake);
 }

 @Service("cakeMapperV2")
 public class CakeMapperImpl {
 }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions