| CARVIEW |
Select Language
HTTP/2 301
date: Sun, 18 Jan 2026 10:20:26 GMT
content-type: text/html; charset=iso-8859-1
location: https://doc.akkasource.org/guice-integration
server: cloudflare
host-header: 6b7412fb82ca5edfd0917e3957f05d89
x-proxy-cache: MISS
x-proxy-cache-info: 0301 NC:000000 UP:
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=9JfFKHVXlEuV383CI%2BKqcPeyLr5Qyyh7Y09%2Flix5GotgrBS%2FhleEI2hSPE86v2ODu%2FwCbA6nWWGz7NkJ3FXal3YHJXa2Z6olFY7hgrz9vyCu%2Fg%3D%3D"}]}
cf-ray: 9bfd5c12bbeeff6e-BOM
alt-svc: h3=":443"; ma=86400
HTTP/1.1 200 OK
Date: Sun, 18 Jan 2026 10:20:26 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Server: cloudflare
Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
Vary: Accept-Encoding
X-Httpd: 1
Host-Header: 6b7412fb82ca5edfd0917e3957f05d89
X-Proxy-Cache: MISS
X-Proxy-Cache-Info: 0 NC:000000 UP:
Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=8IRyX6V78MTtWhDvdDmHPKm7p6Vry0qj1WWB2uWawjeEnnsoINXZmH5imKomou74JuWgV7tgnkE9FzUYsDtmxD3vgzxIBHri6CI2%2FThImKvBLA%3D%3D"}]}
cf-cache-status: DYNAMIC
Content-Encoding: gzip
CF-RAY: 9bfd5c193ef4e89d-BOM
alt-svc: h3=":443"; ma=86400
akka - guice-integration
Home
Download
Getting Started
Build & run Akka
Documentation
Project Info
- Source Code
- Maven Repository
- Team
- Issue Tracking
- Mailing List
- License
- Release Notes
- Developer Guidelines
- Sponsors
- Benchmark
- Commercial Support
Join this Wiki-
Recent Changes
-
Manage Wiki
Protected
Module stability: STABLE
All Active Objects supports dependency injection using Guice annotations (such as ‘@Inject’ etc.).
The ‘ActiveObjectManager’ class understands Guice and will do the wiring for you.
You can also plug in external Guice modules and have non-active objects wired up as part of the configuration.
Here is an example:
The external dependency can be retrieved like this:
| Details |
last edit by |
|
|---|---|---|
| Tags |
Guice Integration
Module stability: STABLE
All Active Objects supports dependency injection using Guice annotations (such as ‘@Inject’ etc.).
The ‘ActiveObjectManager’ class understands Guice and will do the wiring for you.
External Guice modules
You can also plug in external Guice modules and have non-active objects wired up as part of the configuration.
Here is an example:
conf.addExternalGuiceModule(new AbstractModule() { protected void configure() { bind(Ext.class).to(ExtImpl.class).in(Scopes.SINGLETON); } }).configureActiveObjects( ...// as above ).inject().supervise();
Retrieve the external Guice dependency
The external dependency can be retrieved like this:
Ext ext = conf.getExternalDependency(Ext.class);
Copyright 2009-2010 - Scalable Solutions AB

