Registry / dependency-injection / guice-throwingproviders

guice-throwingproviders

JSON →
library7.0.0javamavenunverified

Guice extension that provides support for providers that can throw exceptions.

<dependency> <groupId>com.google.inject.extensions</groupId> <artifactId>guice-throwingproviders</artifactId> <version>7.0.0</version> </dependency>
INSTALL
IMPORT
SIG · GUICE-THROWINGPROV
G
guice-throwingproviders
dependency-injectionjavav7.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ThrowingProvider
com.google.inject.throwingproviders.ThrowingProvider

Minimal example showing how to inject and use a ThrowingProvider.

import com.google.inject.throwingproviders.ThrowingProvider; import com.google.inject.Inject; public class Example { @Inject private ThrowingProvider<MyService, Exception> provider; public void use() throws Exception { MyService service = provider.get(); System.out.println(service); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
7.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
28
Resources