[ http://thecla.homeftp.net:8380/jira/browse/SPRING-44?page=history ]

Peter Friese updated SPRING-44:
-------------------------------

    Attachment: spring-rcp-remoting.patch

And here's the patch. No changes were made to the model or the metafacades.

All service invokers will be wrapped with a ThrowsAdvice. The name of the class 
for this advice can be configured using the namespace property 
"clientExceptionHandlingAdviceName". If no service is remotable, nothing will 
happen.

If using Eclipse RCP client, you should set the namespace property 
"clientServiceLocatorClassloaderSwitching" to "on". This wil instruct the 
ClientServiceLocator to switch the contetx classloader during retrieval of the 
clientContext.xml file. 

Chad, if you hav any question, just drop me a note.

> Add support for rich clients.
> -----------------------------
>
>          Key: SPRING-44
>          URL: http://thecla.homeftp.net:8380/jira/browse/SPRING-44
>      Project: Spring Cartridge
>         Type: New Feature
>     Versions: 3.0RC1
>     Reporter: Peter Friese
>     Assignee: Chad Brandon
>     Priority: Minor
>  Attachments: spring-rcp-remoting.patch
>
>
> 1) Make the client service locator class-loader insensitive. 
> Rationale: When running in an Eclipse RCP application, the client service 
> locator cannot load the clientContext.xml. Due to the way Eclipse handles 
> class laoding (each plug-in has it's own classloader), Spring cannot find the 
> clientContext.xml and access the beans defined herein. 
> 2) Add a ThrowsAdvice that catches all exceptions thrown by the remote 
> services. 
> Rationale: This makes error handling a trivial task. The advice can contain 
> code to log errors and display error dialogs. Once this is implemented, 
> application developers will never have to handle remote errors again :-)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://thecla.homeftp.net:8380/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to