Category "guice"

Given ClassA and SubclassA, if I use Google Guice to bind ClassA to SubclassA then will SubclassA be injected as an instance where ClassA gets called?

Say I am given a scenario like this: @Data public class ClassA { private final String name = "ClassA"; public ClassA(){ //This constructor gets

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

How to specify the dispatcher type for a filter defined in a Guice Servlet Module?

I'm working on a Java based web app. We're using Guice and its ServletModule to configure servlets and filters. Now, I need a Filter to be invoked even when a

dependency injection with OSGI

I have built an application with the dependency framework Guice. Now I will move over to OSGI and started to extend my jars with bundle information. The main p

Apache Spark - Is it possible to use a Dependency Injection Mechanism

Is there any possibility using a framework for enabling / using Dependency Injection in a Spark Application? Is it possible to use Guice, for instance? If so,

How to bind concrete classes?

I have this class: public class House { private final Door door; private final Window window; private final Roof roof; @Inject public House