You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2008/02/02 17:09:14 UTC
svn commit: r617820 - in /myfaces/orchestra/trunk/core/src/site/xdoc:
component-bindings.xml usage.xml
Author: skitching
Date: Sat Feb 2 08:09:13 2008
New Revision: 617820
URL: http://svn.apache.org/viewvc?rev=617820&view=rev
Log:
Remove obsolete refs to aop:scoped-proxy
Modified:
myfaces/orchestra/trunk/core/src/site/xdoc/component-bindings.xml
myfaces/orchestra/trunk/core/src/site/xdoc/usage.xml
Modified: myfaces/orchestra/trunk/core/src/site/xdoc/component-bindings.xml
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/site/xdoc/component-bindings.xml?rev=617820&r1=617819&r2=617820&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/site/xdoc/component-bindings.xml (original)
+++ myfaces/orchestra/trunk/core/src/site/xdoc/component-bindings.xml Sat Feb 2 08:09:13 2008
@@ -101,14 +101,10 @@
<p>
What happens on the spring configuration side is simply the following:
<pre>
-<bean id="componentbindingmodel" scope="request" class="path.to.our.model.class">
- <aop:scoped-proxy />
-</bean>
-
+<bean id="componentbindingmodel" scope="request" class="path.to.our.model.class"/>
<bean id="viewcontrollerbean" scope="conversation.access" ...>
<property name="componentbindingmodel"
ref="componentbindingmodel" />
-
</bean>
</pre>
</p>
@@ -151,4 +147,4 @@
</subsection>
</section>
</body>
-</document>
\ No newline at end of file
+</document>
Modified: myfaces/orchestra/trunk/core/src/site/xdoc/usage.xml
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/site/xdoc/usage.xml?rev=617820&r1=617819&r2=617820&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/site/xdoc/usage.xml (original)
+++ myfaces/orchestra/trunk/core/src/site/xdoc/usage.xml Sat Feb 2 08:09:13 2008
@@ -47,14 +47,13 @@
<subsection name="Starting a conversation">
In the beginning, we'll want to start a conversation. Doing that is a no-brainer in Orchestra - if
you've declared the relevant managed beans as in the following example:
- <code><pre>
+<code><pre>
<bean name="userInfo"
class="my.app.pck.backings.UserInfo"
scope="conversation.access"
- autowire="byName">
- <aop:scoped-proxy />
+ autowire="byName"/>
</bean>
- </pre></code>
+</pre></code>
<p>
We've learned about this syntax in the small example in the introduction - a short repetition:
<br/>
@@ -77,22 +76,19 @@
<p>
Alternatively you could provide a custom conversation name:
</p>
- <code><pre>
+<code><pre>
<bean name="bean1"
class="my.app.pck.backings.bean1"
scope="conversation.manual"
orchestra:conversationName="multibean"
- autowire="byName">
- <aop:scoped-proxy />
-</bean>
+ autowire="byName"/>
+
<bean name="bean2"
class="my.app.pck.backings.bean2"
scope="conversation.manual"
orchestra:conversationName="multibean"
- autowire="byName">
- <aop:scoped-proxy />
-</bean>
- </pre></code>
+ autowire="byName"/>
+</pre></code>
<p>
As you can see in the above example we put two beans into the same conversation, which
means they share the same persistence context.<br />