001// Copyright 2009 by Basil Vandegriend.  All rights reserved.
002
003package com.basilv.examples.spring.componentscan;
004
005import org.springframework.config.java.annotation.Configuration;
006import org.springframework.config.java.plugin.context.*;
007
008@Configuration
009@AnnotationDrivenConfig // Needed for @Autowire to work
010//Scan doesn't work due to runtime error under Spring 3.0.0-M2, but working after switched to Spring 2.5.6
011@ComponentScan("com.basilv.examples.spring.componentscan") 
012public class ComponentScanConfig
013{
014  // No explicit configuration needed
015}