python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Apache spark, is it possible to have Google guice as dependency injection technique
Is it possible to use Google guice as dependency injection provider for a Apache spark Java application?
I am able to achieve this if the execution is happening at the driver but no control over when ...
Vissu
Votes: 0
Answers: 1
Create MessageDigest with Guice
I'm trying to find a way to initialize MessageDigest with Guice. Currently I have this:
public class MyClass {
MessageDigest md;
public MyClass() {
try {
md = Message...
Neeraj Krishna
Votes: 0
Answers: 2
Is there any way to retrieve a object in a test from a Provide in Guice?
I'm trying to get a Object in a JUnit test from a @Provides in a module which isn't @Injected therefore I cannot get it by the injector.
Is there any way that I can call the method without injecting t...
Juliusdotsh
Votes: 0
Answers: 1
NullPointerException in Guice binding. Am I binding HelperFactory incorrectly?
Here is the following code, where I am getting a NullPointerException. HelperFactory is a Client class, which I cannot change. I am new to Guice, and going through the documentation did not help in un...
srb
Votes: 0
Answers: 1