Service exception handler as Spring bean

14 views
Skip to first unread message

mar...@flexets.com

unread,
Mar 16, 2015, 8:05:12 AM3/16/15
to gran...@googlegroups.com
Hi,

is there a way how to provide the service exception handler to the factory as a spring bean instead of the class name?

services-config.xml
<factory id="myFactory" class="com.myapp.custom.MyServiceFactory">
    <properties>
        <service-exception-handler>com.myapp.custom.MyServiceExceptionHandler</service-exception-handler>
    </properties>
</factory>

Thanks and regards
Martin
Reply all
Reply to author
Forward
0 new messages