It's all about the answers!

Ask a question

Building a Proxy for IWorkItemRestService or other Jazz Service

Amaury Quintero (901017) | asked Jan 16 '14, 2:28 p.m.

We are trying to build a proxy for some RTC Services, for example IWorkItemRestService.getWorkItemEditablePRoperties(...)

The service will do the same, but with just an intervention, it is kind of decorator!! Can we do that without move the rtc base code, it means our service take precedence by original services and then call the originals?



One answer

permanent link
sam detweiler (12.5k6189201) | answered Jan 16 '14, 2:57 p.m.
see this. I have built new services.

Amaury Quintero commented Jan 16 '14, 3:03 p.m.

 What I'm trying to do is to replace an existing service by my own, I know how to create a new one, but i need to provide a new implementation for en existing rtc service and the jazz server get mine not the default rtc implementation


sam detweiler commented Jan 16 '14, 3:35 p.m.

far as I know the only way to do that is to replace the service definition where ever it is to point to your class.. of course u will be changing a product jar file..

there is no support for subclassing a service.

Your answer

Register or to post your answer.