8000 GitHub - andrea-rockt/akka-actor-di-guice: A minimal Akka Actor example using Guice for dependency injection.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andrea-rockt/akka-actor-di-guice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

akka-actor-di-guice

A minimal Akka Actor example using Guice for dependency injection.

Features:

  • Inject actors to other components (see App.scala where I inject PrinterActor)
  • Create child actors (see PrinterActor.scala where I create PrintJobActor using a factory)
  • Inject components inside actors (see PrintJobActor.scala where I inject PrinterService component)
  • No named components (I don't like it...)
  • Unit test friendly

All the "magic" is inside the Guice AppModule, where actors are bind and factories are created.

References

About

A minimal Akka Actor example using Guice for dependency injection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 100.0%
0