Revision: 0d69a5d56216
Author: cgruber <[email protected]>
Date: Thu Jul 25 12:31:07 2013
Log: Clean up some minor search-and-replace errors.
http://code.google.com/p/google-guice/source/detail?r=0d69a5d56216&repo=wiki
Modified:
/CyclicDependencies.wiki
=======================================
--- /CyclicDependencies.wiki Thu Jul 25 09:46:26 2013
+++ /CyclicDependencies.wiki Thu Jul 25 12:31:07 2013
@@ -90,7 +90,7 @@
public void incomingCustomer(Customer customer) { line.add(customer); }
}
-//...
+
public class Clerk {
private final CustomerLine line;
@@ -111,7 +111,6 @@
[InjectingProviders Injecting a Guice provider] will allow you to add a
_seam_ in the dependency graph. The Clerk will still depend on the Store,
but the Clerk doesn't look at the Store until he needs one.
{{{
-//...
public class Clerk {
private final Provider<Store> shopProvider;
@Inject Clerk(Provider<Store> shopProvider) {
@@ -141,6 +140,7 @@
view.doSomethingCool();
}
}
+
public class FooView {
@Inject public FooView(FooPresenter presenter) {
//...
@@ -167,6 +167,7 @@
view.doSomethingCool();
}
}
+
public class FooView {
@Inject public FooView(@Assisted FooPresenter presenter) {...}
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" 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-dev.
For more options, visit https://groups.google.com/groups/opt_out.