Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
I am seeing some problems with strategy="instance"
First, I created a new component
@Component(propagation = true) @Provides(strategy="INSTANCE")
If I am trying to inject it with @Bind annotation, iPojo does not seem to inject it...
@Bind(aggregate = true, optional = true, proxy = false) public void bindScreen(Screen screen) { log.info("Binding Screen: " + screen.getClass().getName()); }
However @Requires annotation works like a charm..
@Requires(optional = true)
Screen[] screensArray;