Skip to main content



      Home
Home » Modeling » EMF » (no subject)
(no subject) [message #687104] Mon, 30 May 2011 18:18 Go to next message
Eclipse UserFriend
Hi,

the last days, I tried to understand the NET4J framework, to implement
an own protocol.

Now I found one point, which I dont understand.
There are some factories and element processors, which a implemented
inside the org.eclipse.net4j.util plugin.

The factory will be registered but now inside the
org.eclipse.emf.cdo.server plugin

Exactly this are:

<extension point="org.eclipse.net4j.util.factories">
<factory
productGroup="org.eclipse.net4j.Negotiators"
type="challenge"
class="org.eclipse.net4j.util.security.ChallengeNegotiatorFactory"
/>
</extension>

and:

<extension point="org.eclipse.net4j.util.elementProcessors">
<elementProcessor
class="org.eclipse.net4j.util.security.ChallengeNegotiatorConfigurer"
/>
</extension>

Do this was forgotten and it is a bug, or is there a specific reason?

Greetings

Heiko
(no subject) [message #687129 is a reply to message #687104] Thu, 02 June 2011 06:56 Go to previous messageGo to next message
Eclipse UserFriend
Hi Heiko,

Unfortunately I do not remember excatly why that has been changed. I think it was related with the fact that you normally want to provide your own implementations. Note that you can easily contribute the factories of your choice from your own bundle.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Am 31.05.2011 00:18, schrieb Heiko Ahlig:
> Hi,
>
> the last days, I tried to understand the NET4J framework, to implement an own protocol.
>
> Now I found one point, which I dont understand.
> There are some factories and element processors, which a implemented inside the org.eclipse.net4j.util plugin.
>
> The factory will be registered but now inside the org.eclipse.emf.cdo.server plugin
>
> Exactly this are:
>
> <extension point="org.eclipse.net4j.util.factories">
> <factory
> productGroup="org.eclipse.net4j.Negotiators"
> type="challenge"
> class="org.eclipse.net4j.util.security.ChallengeNegotiatorFactory"
> />
> </extension>
>
> and:
>
> <extension point="org.eclipse.net4j.util.elementProcessors">
> <elementProcessor class="org.eclipse.net4j.util.security.ChallengeNegotiatorConfigurer"
> />
> </extension>
>
> Do this was forgotten and it is a bug, or is there a specific reason?
>
> Greetings
>
> Heiko
(no subject) [message #687156 is a reply to message #687129] Tue, 07 June 2011 17:36 Go to previous message
Eclipse UserFriend
Hi Eike
thanks for your answer.
I've looked into the old versions of net4j and CDO inside the svn
repository and since CDO 2.0 there are this combination.
If I do understand right the net4j framework with his IContainer system
and the factories, it is impossible to create a ChallengeNegotiator over
the container method

container.getElement(NegotiatorFactory.PRODUCT_GROUP, type, description);

as there will not used the cdo server plugin.

Greetings
Heiko



Am 02.06.2011 12:56, schrieb Eike Stepper:
> Hi Heiko,
>
> Unfortunately I do not remember excatly why that has been changed. I
> think it was related with the fact that you normally want to provide
> your own implementations. Note that you can easily contribute the
> factories of your choice from your own bundle.
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
> Am 31.05.2011 00:18, schrieb Heiko Ahlig:
>> Hi,
>>
>> the last days, I tried to understand the NET4J framework, to implement
>> an own protocol.
>>
>> Now I found one point, which I dont understand.
>> There are some factories and element processors, which a implemented
>> inside the org.eclipse.net4j.util plugin.
>>
>> The factory will be registered but now inside the
>> org.eclipse.emf.cdo.server plugin
>>
>> Exactly this are:
>>
>> <extension point="org.eclipse.net4j.util.factories">
>> <factory
>> productGroup="org.eclipse.net4j.Negotiators"
>> type="challenge"
>> class="org.eclipse.net4j.util.security.ChallengeNegotiatorFactory"
>> />
>> </extension>
>>
>> and:
>>
>> <extension point="org.eclipse.net4j.util.elementProcessors">
>> <elementProcessor
>> class="org.eclipse.net4j.util.security.ChallengeNegotiatorConfigurer"
>> />
>> </extension>
>>
>> Do this was forgotten and it is a bug, or is there a specific reason?
>>
>> Greetings
>>
>> Heiko
(no subject) [message #687366 is a reply to message #687104] Thu, 02 June 2011 06:56 Go to previous message
Eclipse UserFriend
Hi Heiko,

Unfortunately I do not remember excatly why that has been changed. I think it was related with the fact that you normally want to provide your own implementations. Note that you can easily contribute the factories of your choice from your own bundle.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Am 31.05.2011 00:18, schrieb Heiko Ahlig:
> Hi,
>
> the last days, I tried to understand the NET4J framework, to implement an own protocol.
>
> Now I found one point, which I dont understand.
> There are some factories and element processors, which a implemented inside the org.eclipse.net4j.util plugin.
>
> The factory will be registered but now inside the org.eclipse.emf.cdo.server plugin
>
> Exactly this are:
>
> <extension point="org.eclipse.net4j.util.factories">
> <factory
> productGroup="org.eclipse.net4j.Negotiators"
> type="challenge"
> class="org.eclipse.net4j.util.security.ChallengeNegotiatorFactory"
> />
> </extension>
>
> and:
>
> <extension point="org.eclipse.net4j.util.elementProcessors">
> <elementProcessor class="org.eclipse.net4j.util.security.ChallengeNegotiatorConfigurer"
> />
> </extension>
>
> Do this was forgotten and it is a bug, or is there a specific reason?
>
> Greetings
>
> Heiko
(no subject) [message #687405 is a reply to message #687129] Tue, 07 June 2011 17:36 Go to previous message
Eclipse UserFriend
Hi Eike
thanks for your answer.
I've looked into the old versions of net4j and CDO inside the svn
repository and since CDO 2.0 there are this combination.
If I do understand right the net4j framework with his IContainer system
and the factories, it is impossible to create a ChallengeNegotiator over
the container method

container.getElement(NegotiatorFactory.PRODUCT_GROUP, type, description);

as there will not used the cdo server plugin.

Greetings
Heiko



Am 02.06.2011 12:56, schrieb Eike Stepper:
> Hi Heiko,
>
> Unfortunately I do not remember excatly why that has been changed. I
> think it was related with the fact that you normally want to provide
> your own implementations. Note that you can easily contribute the
> factories of your choice from your own bundle.
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
> Am 31.05.2011 00:18, schrieb Heiko Ahlig:
>> Hi,
>>
>> the last days, I tried to understand the NET4J framework, to implement
>> an own protocol.
>>
>> Now I found one point, which I dont understand.
>> There are some factories and element processors, which a implemented
>> inside the org.eclipse.net4j.util plugin.
>>
>> The factory will be registered but now inside the
>> org.eclipse.emf.cdo.server plugin
>>
>> Exactly this are:
>>
>> <extension point="org.eclipse.net4j.util.factories">
>> <factory
>> productGroup="org.eclipse.net4j.Negotiators"
>> type="challenge"
>> class="org.eclipse.net4j.util.security.ChallengeNegotiatorFactory"
>> />
>> </extension>
>>
>> and:
>>
>> <extension point="org.eclipse.net4j.util.elementProcessors">
>> <elementProcessor
>> class="org.eclipse.net4j.util.security.ChallengeNegotiatorConfigurer"
>> />
>> </extension>
>>
>> Do this was forgotten and it is a bug, or is there a specific reason?
>>
>> Greetings
>>
>> Heiko
Previous Topic:(no subject)
Next Topic:(no subject)
Goto Forum:
  


Current Time: Sun Jul 13 14:20:07 EDT 2025

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

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

Back to the top