Browse files

readme code fix

  • Loading branch information...
1 parent 5814b7f commit 7c7e7431812d54c9ebffb8d5c83e7b5ec8d023e6 @jhalterman committed Sep 23, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.md
View
2 README.md
@@ -129,8 +129,10 @@ bind(Service.class).to(ServiceImpl.class)
Fabrique can manage the lifecycle of objects based on a configured scope:
+```java
bind(Service.class).to(ServiceImpl.class).in(Scopes.SINGLETON);
assert ObjectFactory.getInstance(Service.class) == ObjectFactory.getInstance(Service.class);
+```
### AOP

0 comments on commit 7c7e743

Please sign in to comment.