How can I get service instance in server side class?
2 answers
The server class is not a service class which extends AbstractRepositoryService, how can I get the server service, e.g. IRepositoryItemService?
Your Jazz service can only refer to other Jazz services if:
a) your service extends IService;
b) the service you wish to reference is listed as a pre-requisite in the plugin.xml definition of your service;
-- Todd
Todd Lainhart
Jazz Foundation Services
On 24-Mar-09 9:39 PM, lainhart wrote:
From a Follow-up Operation it seems you should also extend
com.ibm.team.repository.service.AbstractService so you have access to
getService() method.
Regards,
Chemi.
mincerwrote:
The server class is not a service class which extends
AbstractRepositoryService, how can I get the server service, e.g.
IRepositoryItemService?
Your Jazz service can only refer to other Jazz services if:
a) your service extends IService;
b) the service you wish to reference is listed as a pre-requisite in
the plugin.xml definition of your service;
-- Todd
Todd Lainhart
Jazz Foundation Services
From a Follow-up Operation it seems you should also extend
com.ibm.team.repository.service.AbstractService so you have access to
getService() method.
Regards,
Chemi.