Revision: 1138
Author:   lstreepy
Date:     2006-05-10 15:45:45 -0700 (Wed, 10 May 2006)
ViewCVS:  http://svn.sourceforge.net/spring-rich-c/?rev=1138&view=rev

Log Message:
-----------
Fix table formatting

Modified Paths:
--------------
    trunk/spring-richclient/src/site/apt/user/upgrading.apt
Modified: trunk/spring-richclient/src/site/apt/user/upgrading.apt
===================================================================
--- trunk/spring-richclient/src/site/apt/user/upgrading.apt     2006-05-10 
22:19:45 UTC (rev 1137)
+++ trunk/spring-richclient/src/site/apt/user/upgrading.apt     2006-05-10 
22:45:45 UTC (rev 1138)
@@ -27,7 +27,7 @@
     needed runtime services.  The application context will no longer be 
searched for
     beans with magic names.  A typical configuration would look something like 
this:
     
-    +---
++---
     <bean id="serviceLocator" 
class="org.springframework.richclient.application.ApplicationServicesLocator">
         <property name="applicationServices" ref="applicationServices"/>
     </bean>
@@ -39,7 +39,7 @@
           <property name="formComponentInterceptorFactory" 
ref="formComponentInterceptorFactory"/>
           <property name="applicationObjectConfigurerBeanId"><idref 
bean="applicationObjectConfigurer"/></property>
        </bean>
-    +---
++---
 
     Note that the <<<DefaultApplicationServices>>> implementation provides 
setter methods
     for each of the standard platform services.  It also contains a mechanism 
to register
@@ -55,12 +55,12 @@
     context.  For example, previously, to define the IconSource, you had to 
configure a bean
     with a constructor argument referencing the ImageSource, like this:
     
-    +---
++---
     <bean id="iconSource" 
            class="org.springframework.richclient.image.DefaultIconSource">
            <constructor-arg index="0" ref="imageSource"/>
     </bean>
-    +---
++---
     
     With the new service resolution, this is no longer necessary.  In fact, 
since the
     default IconSource references the registered ImageSource there isn't even 
a need to
@@ -69,11 +69,11 @@
     constructor arguments.  It no longer requires this explicit configuration, 
you can
     simply declare the bean like this:
     
-    +---
++---
     <bean id="applicationObjectConfigurer" depends-on="serviceLocator"
         
class="org.springframework.richclient.application.config.DefaultApplicationObjectConfigurer">
     </bean>
-    +---
++---
     
     Note the "depends-on" attribute.  This is necessary in order to ensure 
that the
     service locator is constructed before the AOC.
@@ -86,9 +86,9 @@
     id, not a direct reference to the bean.  You can see this in the code 
(repeated
     from above):
     
-    +---
++---
     <property name="applicationObjectConfigurerBeanId"><idref 
bean="applicationObjectConfigurer"/></property>
-    +---
++---
     
     The best way to see how the application context should now be configured 
is to look
     at the simple sample.
@@ -97,18 +97,18 @@
     are accessed at runtime.  In version 0.1.0, you would access a service by 
using a
     simple getter method on the <<<ApplicationServices>>> class, like this:
     
-    +---
++---
     IconSource iconSource = Application.services().getIconSource();
-    +---
++---
     
     In the new version, there are no specific getters for the individual 
services.  Instead,
     there is a general <<<Object getServices( Class serviceType )>>> method.  
You pass it
     the type of the service you need and it returns the implementation.  So, 
the new way
     to make the same request as above would be:
     
-    +---
++---
     IconSource iconSource = 
(IconSource)ApplicationServicesLocator.services().getService(IconSource.class);
-    +---
++---
     
     Note that that <<<ApplicationServicesAccessor>>> base class has been 
updated to make
     appropriate delegated calls, so it can continue to be used as is.  Also, 
the


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
spring-rich-c-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs

Reply via email to