Hi,
in order to allow interceptors and other AOP on the RemoteExporter please use
getProxyForService() instead of getService() when building JsonRpcServer (see
AbstractJsonServiceExporter:67@0.28).
Thanx a lot for writing this code!
For example:
<bean name="/LobbyService.json" class="com.googlecode.jsonrpc4j.spring.JsonServiceExporter">
<property name="service" ref="lobbyService" />
<property name="serviceInterface" value="org.example.net.LobbyService" />
<property name="interceptors" ref="performanceStatsMethodInterceptor" />
</bean>
Original issue reported on code.google.com by sebastia...@gmail.com on 18 Jul 2013 at 9:08
Original issue reported on code.google.com by
sebastia...@gmail.com
on 18 Jul 2013 at 9:08