It's all about the answers!

Ask a question

Building a Proxy for IWorkItemRestService or other Jazz Service


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

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?

Thanks

Amaury

One answer



permanent link
sam detweiler (12.5k6195201) | answered Jan 16 '14, 2:57 p.m.
see this. I have built new services. 
https://jazz.net/forum/questions/122514/solved-ccm-service-component-development



Comments
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


thanks


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.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.