|
KIE :: CI 6.2.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.kie.scanner.DependentScopeModule
@Named public class DependentScopeModule
A 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 | |
|---|---|
DependentScopeModule()
|
|
| Method Summary | |
|---|---|
protected void |
configure()
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DependentScopeModule()
| Method Detail |
|---|
protected void configure()
configure in class com.google.inject.AbstractModule
|
KIE :: CI 6.2.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||