I tried to use it. It doesn't work. I get
Exception in thread "main" java.lang.RuntimeException:
java.lang.NoSuchMethodException: playground.Silk$RootBundle.<init>()
at se.jbee.inject.bootstrap.Inspect.noArgsConstructor(Inspect.java:
242)
....
I have
class Foo
class Bar(Foo foo)
Injector injector = Bootstrap.injector(RootBundle.class);
Dependency<Bar> dependency = Dependency.dependency(Bar.class);
Bar instance = injector.resolve(dependency);
You should add another category: error reporting. You can put both
Silk and Spring in red and Guice in green. I tried to follow your
guide but I get the mentioned stack-trace.
I cannot help myself but to say the the usage of Singleton as the
default scope is archaic. In my book it qualifies for a QUADRUPLE
FACEPALM badge!!!
Cheers
Alen
On Apr 4, 9:07 am, Jan Bernitt <[email protected]> wrote:
> Hi,
>
> I made a comparisonhttp://www.silkdi.com/help/comparison.htmlpage
> comparing my DI tool to other frameworks and guice is one of them.
>
> Please let me know if I got something wrong (in the guice column) or you
> have additional or yet missing information I could add to make it more
> complete.
> Any other feedback is of cause also welcome.
>
> Jan
--
You received this message because you are subscribed to the Google Groups
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.