org.mybatis.spring.annotation
Annotation Type Mapper


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface Mapper

Annotation to identify mapper interfaces for scanning

Version:
$Id: Mapper.java 2965 2010-10-30 14:43:51Z simone.tripodi $
See Also:
MapperScannerPostProcessor

Optional Element Summary
 String value
          Value indicates the component name.
 

value

public abstract String value
Value indicates the component name. If there is not any the class name will be used.

Returns:
component name, optional.
Default:
""


Copyright © 2010 MyBatis.org. All Rights Reserved.