Added autowire property in XML config

The name of property in the class need to match with the name defined in
the XML file, so that by using autowire, Spring can match them up.