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
How to register dependencies with IList<T>
My class constructor has a dependency like the following
public EngineService(
IList<ICommand<CalculationRequest,CalculationContext<CalculationRequest>>> commands)
and I have no id...
Артём Кузнецов
Votes: 0
Answers: 0
Why Hilt isn't necessary for unit tests, but it is necessary for UI tests?
Hilt testing guide documentaton has this paragraph about Unit test
Hilt isn't necessary for unit tests, since when testing a class that uses constructor injection, you don't need to use Hilt to insta...
milad mosavie
Votes: 0
Answers: 1
How to autowire an entity into a service?
I have an abstract class called AbstractMediaService and a some specific implementations of this abstract class:
abstract class AbstractMediaService
{
private $em;
private $media;
public f...
akio
Votes: 0
Answers: 1