Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [CDO] UI repository browser
[CDO] UI repository browser [message #111919] Fri, 08 February 2008 17:02 Go to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi Eike,

thanks for the hint with the global registry - I'll have a look into
this on monday.

One last question before the week-end starts ;-)
Is it possible to browse CDO repositories using the net4j or cdo ui over
jvm?
I tried to enter a jvm:// URL into the CDO Session view but failed.

Thank you so much for your assistance :-)

Cheers,
Stefan
Re: [CDO] UI repository browser [message #111920 is a reply to message #111919] Fri, 08 February 2008 17:19 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6583
Registered: July 2009
Senior Member
Hi Stefan,

Yes, if the "jvm://..." thing doesn't work (I have to look into the code
which I have not available right now) then you can also use the following
approach:

IConnector connector =
(IConnector)IPluginContainer.INSTANCE.getElement("org.eclipse.net4j.connectors ",
"jvm", "default");

and pass this connector explicitely into CDOUtil.openSession(...)

I must hurry now to reach my flieght ;-)

Cheers
/Eike


Re: [CDO] UI repository browser [message #112067 is a reply to message #111920] Mon, 11 February 2008 08:59 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi,

I figured it out:

one has to use "jvm://default" as server description and the repository
name as the repository name ;-)

Cheers,
Stefan


Eike Stepper schrieb:
> Hi Stefan,
>
> Yes, if the "jvm://..." thing doesn't work (I have to look into the
> code which I have not available right now) then you can also use the
> following approach:
>
> IConnector connector =
> (IConnector)IPluginContainer.INSTANCE.getElement("org.eclipse.net4j.connectors ",
> "jvm", "default");
>
> and pass this connector explicitely into CDOUtil.openSession(...)
>
> I must hurry now to reach my flieght ;-)
>
> Cheers
> /Eike
>
>
>
Re: [CDO] UI repository browser [message #112080 is a reply to message #112067] Mon, 11 February 2008 09:38 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6583
Registered: July 2009
Senior Member
Stefan Winkler wrote:

> Hi,

> I figured it out:

> one has to use "jvm://default" as server description and the repository
> name as the repository name ;-)

Great! And thx for the info ;-)

Cheers
/Eike


> Cheers,
> Stefan


> Eike Stepper schrieb:
>> Hi Stefan,
>>
>> Yes, if the "jvm://..." thing doesn't work (I have to look into the
>> code which I have not available right now) then you can also use the
>> following approach:
>>
>> IConnector connector =
>>
(IConnector)IPluginContainer.INSTANCE.getElement("org.eclipse.net4j.connectors ",
>> "jvm", "default");
>>
>> and pass this connector explicitely into CDOUtil.openSession(...)
>>
>> I must hurry now to reach my flieght ;-)
>>
>> Cheers
>> /Eike
>>
>>
>>


Re: [CDO] UI repository browser [message #615470 is a reply to message #111919] Fri, 08 February 2008 17:19 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6583
Registered: July 2009
Senior Member
Hi Stefan,

Yes, if the "jvm://.." thing doesn't work (I have to look into the code
which I have not available right now) then you can also use the following
approach:

IConnector connector =
(IConnector)IPluginContainer.INSTANCE.getElement("org.eclipse.net4j.connectors ",
"jvm", "default");

and pass this connector explicitely into CDOUtil.openSession(...)

I must hurry now to reach my flieght ;-)

Cheers
/Eike


Re: [CDO] UI repository browser [message #615475 is a reply to message #111920] Mon, 11 February 2008 08:59 Go to previous message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi,

I figured it out:

one has to use "jvm://default" as server description and the repository
name as the repository name ;-)

Cheers,
Stefan


Eike Stepper schrieb:
> Hi Stefan,
>
> Yes, if the "jvm://.." thing doesn't work (I have to look into the
> code which I have not available right now) then you can also use the
> following approach:
>
> IConnector connector =
> (IConnector)IPluginContainer.INSTANCE.getElement("org.eclipse.net4j.connectors ",
> "jvm", "default");
>
> and pass this connector explicitely into CDOUtil.openSession(...)
>
> I must hurry now to reach my flieght ;-)
>
> Cheers
> /Eike
>
>
>
Re: [CDO] UI repository browser [message #615476 is a reply to message #112067] Mon, 11 February 2008 09:38 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6583
Registered: July 2009
Senior Member
Stefan Winkler wrote:

> Hi,

> I figured it out:

> one has to use "jvm://default" as server description and the repository
> name as the repository name ;-)

Great! And thx for the info ;-)

Cheers
/Eike


> Cheers,
> Stefan


> Eike Stepper schrieb:
>> Hi Stefan,
>>
>> Yes, if the "jvm://.." thing doesn't work (I have to look into the
>> code which I have not available right now) then you can also use the
>> following approach:
>>
>> IConnector connector =
>>
(IConnector)IPluginContainer.INSTANCE.getElement("org.eclipse.net4j.connectors ",
>> "jvm", "default");
>>
>> and pass this connector explicitely into CDOUtil.openSession(...)
>>
>> I must hurry now to reach my flieght ;-)
>>
>> Cheers
>> /Eike
>>
>>
>>


Previous Topic:ECF and CDO technologies.
Next Topic:ECF and CDO technologies.
Goto Forum:
  


Current Time: Thu Aug 05 09:20:02 GMT 2021

Powered by FUDForum. Page generated in 0.02629 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top