How to get the ProvisionFactory on the server side
Hello,
I'm developing a pre-condition operation for scm "Deliver" on the server side. I'm using ChangeSetLinks.findLinks method to get the links. I need to use the class ProvisionFactory on the server side. On the client side I could do: ProviderFactory = (ProviderFactory) repository.getClientLibrary(ProviderFactory.class) However, on the sever Side, I tried ProviderFactory provider = getService(ProviderFactory.class) but the plugin complains about the missing required service "com.ibm.team.scm.service.providers.ProviderFactory" Could anyone help me out please? Thanks, |
3 answers
Is it correct to use:
ServerProviderFactory provider = getService(ServerProviderFactory.class); If I do so I'm getting this error in the Team Advisor. failed to find the required service 'class com.ibm.team.scm.service.internal.utils.ServerProviderFactory'. Check <prerequisites> in plugin.xml. Which required service do I need to add? How can I create an instance of ServerProviderFactory? Thanks in advance for your help |
Check https://jazz.net/forums/viewtopic.php?t=18901
|
|
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.