|Re: OCLSettingDelegate extension [message #716212 is a reply to message #716046]
||Tue, 16 August 2011 12:48
| Ed Willink
Registered: July 2009
> As i mentioned URL
> This tutorial guides to extends BasicSettingDelegate.Stateless. Is
> this method recommended to have specialized delegates?
By 'method' do you mean 'approach' or 'Java function'.
The N&N was written before OCL delegates were actually implemented. The
real OCL delegates are provided by Eclipse OCL so you have
no need to implement them, but may want to revise them to make them
The actual delegates are nominally stateless, but they have lazily
initialized caches. Placing synchronized around the cache initializations
and the 'pointers' to the delegates could cure the thread safety.
If you are asking about EMF delegates in general, you should perhaps ask
on the EMF newsgroup.
Powered by FUDForum
. Page generated in 0.02290 seconds