- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.ResourceLoaderAware
public class MapperScannerRegistrar
extends Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.ResourceLoaderAware
A ImportBeanDefinitionRegistrar
to allow annotation configuration of
MyBatis mapper scanning. Using an @Enable annotation allows beans to be
registered via @Component configuration, whereas implementing
BeanDefinitionRegistryPostProcessor
will work for XML configuration.
- Since:
- 1.2.0
- Version:
- $Id$
- Author:
- Michael Lanyon, Eduardo Macarron
- See Also:
MapperFactoryBean
,
ClassPathMapperScanner