Component Scanning
Configuration Class
@Configuration
@ComponentScan({ "com.package.repository" })
public class RepositoryScanningConfig
{
}XML
<context:component-scan base-package="com.package.repository" />Last updated
Was this helpful?