Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] acquire a lock could notify others ?
[CDO] acquire a lock could notify others ? [message #431451] Fri, 10 July 2009 09:05 Go to next message
Stephane  Fournier is currently offline Stephane FournierFriend
Messages: 299
Registered: July 2009
Senior Member
Hi,

What is the best way to add a notification when a (read / write) lock is
acquired ?

When an end-user A locks an object, end-user B receives a notification and
if the related object is loaded, a decorator is added to report him a lock
is held by another user on this object.

Stéphane.
Re: [CDO] acquire a lock could notify others ? [message #431452 is a reply to message #431451] Fri, 10 July 2009 09:13 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6457
Registered: July 2009
Senior Member
Stéphane,

That sounds nice. Can you fle a bugzilla so that we can track there?

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Stéphane Fournier schrieb:
> Hi,
>
> What is the best way to add a notification when a (read / write) lock
> is acquired ?
>
> When an end-user A locks an object, end-user B receives a notification
> and if the related object is loaded, a decorator is added to report
> him a lock is held by another user on this object.
>
> Stéphane.
>


Re: [CDO] acquire a lock could notify others ? [message #431483 is a reply to message #431452] Mon, 13 July 2009 07:18 Go to previous messageGo to next message
Stephane  Fournier is currently offline Stephane FournierFriend
Messages: 299
Registered: July 2009
Senior Member
Buzilla filed : https://bugs.eclipse.org/bugs/show_bug.cgi?id=283274

Stéphane.

Eike Stepper wrote:

> Stéphane,

> That sounds nice. Can you fle a bugzilla so that we can track there?

> Cheers
> /Eike

> ----
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper



> Stéphane Fournier schrieb:
>> Hi,
>>
>> What is the best way to add a notification when a (read / write) lock
>> is acquired ?
>>
>> When an end-user A locks an object, end-user B receives a notification
>> and if the related object is loaded, a decorator is added to report
>> him a lock is held by another user on this object.
>>
>> Stéphane.
>>
Re: [CDO] acquire a lock could notify others ? [message #431544 is a reply to message #431483] Wed, 15 July 2009 18:23 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6457
Registered: July 2009
Senior Member
Stéphane,

I worked on the RemoteSessionManager that I mention in the bugzilla and
you can try it. Examples are in
org.eclipse.emf.cdo.tests.RemoteSessionManagerTest and I'll continue to
work on the JavaDocs...

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Stéphane Fournier schrieb:
> Buzilla filed : https://bugs.eclipse.org/bugs/show_bug.cgi?id=283274
>
> Stéphane.
>
> Eike Stepper wrote:
>
>> Stéphane,
>
>> That sounds nice. Can you fle a bugzilla so that we can track there?
>
>> Cheers
>> /Eike
>
>> ----
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>
>
>
>> Stéphane Fournier schrieb:
>>> Hi,
>>>
>>> What is the best way to add a notification when a (read / write) lock
>>> is acquired ?
>>>
>>> When an end-user A locks an object, end-user B receives a notification
>>> and if the related object is loaded, a decorator is added to report
>>> him a lock is held by another user on this object.
>>>
>>> Stéphane.
>>>
>
>


Previous Topic:[EMF] Combining Reflective EMF with generated model code
Next Topic:ecore for operation returning EList<? extends XXX>
Goto Forum:
  


Current Time: Mon Dec 09 12:19:47 GMT 2019

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

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

Back to the top