Package org.appformer.maven.integration
Class DependentScopeModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.appformer.maven.integration.DependentScopeModule
-
- All Implemented Interfaces:
com.google.inject.Module
@Named public class DependentScopeModule extends com.google.inject.AbstractModuleA handler for @Dependent scoped beans used by sisu-guice. The DefaultPlexusContainer created by MavenEmbedderUtils for KIE's programmatic use of maven-core and Aether tries to wire-up all beans on the classpath. The KIE Workbenches contain @Dependent classes defining client-side Uberfire Perspective definitions. These are filtered from the webapp WARs as they are client-side only and handled by Errai's CDI implementation; however when ran from within an IDE the classes exist on the classpath and sisu-guice fails to bind @Dependent scope. This class is a work-around for running the KIE Workbenches in GWT Hosted Mode. See https://github.com/sonatype/sisu-guice/issues/10
-
-
Constructor Summary
Constructors Constructor Description DependentScopeModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigure()-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-