Skip to content

Commit

Permalink
explanation of @scope("desktop") on Model class.
Browse files Browse the repository at this point in the history
  • Loading branch information
simbo1905 committed Oct 14, 2012
1 parent 89689dc commit cb0f0df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/org/zkforge/zktodo2/Model.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
* the system services and pushes entities into the Model. The Model therefore
* holds the users conversational state with the system.
*
* There may not be a one-to-one relationship between controllers and model
* so the model object is given spring-zk "desktop" scope so that any controllers
* within the same desktop will be given the same model object to update.
*
* {@see supervisingcontroller.zul}
* {@see org.zkforge.zktodo2.ui.Controller}
*/
Expand Down

0 comments on commit cb0f0df

Please sign in to comment.