Skip to content

Instantly share code, notes, and snippets.

@remeniuk
Created December 26, 2011 15:25
Show Gist options
  • Save remeniuk/1521388 to your computer and use it in GitHub Desktop.
Save remeniuk/1521388 to your computer and use it in GitHub Desktop.
trait IdeaBoxService{
val ideaBoxDao:IdeaBoxDao
def getTopicById(id: String): Topic = {
ideaBoxDao.getTopicById(id)
}
}
object IdeaBoxAssembly extends IdeaBoxService{
val ideaBoxDao = new IdeaBoxDaoImpl
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment