Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Finding the Jazz server in Team Artifacts Navigator for a Do

Hi Y'all,
I've extended the Team Artifacts Navigator and added a new Domain. When a user selects one of the
new domain objects they can right click and open a wizard. That wizard needs to know what Jazz
server the domain object is residing on. I can get the team and project areas (through the tree
path), but I can't seem to find the hostname and port for the jazz server. Is there an easy way to
find this information with storing it directly in the domain object itself?
Thanks in advance!

--Stephen

0 votes



2 answers

Permanent link
Hi Y'all,
I've extended the Team Artifacts Navigator and added a new Domain.
When a user selects one of the new domain objects they can right click
and open a wizard. That wizard needs to know what Jazz server the
domain object is residing on. I can get the team and project areas
(through the tree path), but I can't seem to find the hostname and port
for the jazz server. Is there an easy way to find this information with
storing it directly in the domain object itself?
Thanks in advance!

When you have an item handle you can get at the repository it came from
using getOrigin():

IProjectAreaHandle projectArea=...;
ITeamRepository repository= (ITeamRepository) projectArea.getOrigin();

--
Regards,
Patrick
Jazz Work Item Team

0 votes


Permanent link
Thanks, Patrick!

Patrick Streule wrote:
Hi Y'all,
I've extended the Team Artifacts Navigator and added a new
Domain. When a user selects one of the new domain objects they can
right click and open a wizard. That wizard needs to know what Jazz
server the domain object is residing on. I can get the team and
project areas (through the tree path), but I can't seem to find the
hostname and port for the jazz server. Is there an easy way to find
this information with storing it directly in the domain object itself?
Thanks in advance!

When you have an item handle you can get at the repository it came from
using getOrigin():

IProjectAreaHandle projectArea=...;
ITeamRepository repository= (ITeamRepository) projectArea.getOrigin();

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,927

Question asked: May 19 '09, 5:08 p.m.

Question was seen: 4,278 times

Last updated: May 19 '09, 5:08 p.m.

Confirmation Cancel Confirm