Skip to content

Instantly share code, notes, and snippets.

@gAmUssA
Created January 15, 2015 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gAmUssA/b305a4318c2d8deb5d7a to your computer and use it in GitHub Desktop.
Save gAmUssA/b305a4318c2d8deb5d7a to your computer and use it in GitHub Desktop.
Groovy configuration for sping
package config
import com.farata.course.mwd.auction.data.DataEngine
import com.farata.course.mwd.auction.service.ProductService
beans {
xmlns([context: 'http://www.springframework.org/schema/context'])
context.'property-placeholder'(location: 'classpath:app.properties')
context.'component-scan'('base-package': "com.farata.course.mwd")
dataEngine DataEngine
productService ProductService
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment