Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]
Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]
- Subject: Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]
- From: "Ricardo J. Parada" <email@hidden>
- Date: Thu, 03 Dec 2009 14:37:49 -0500
Thank you Mike, Kieran and Bogdan for the clarification!
:-)
On Dec 3, 2009, at 2:32 PM, Kieran Kelleher wrote:
> It is an anonymous subclass. (I guess that is the correct term)
>
> If you look at the creation of the WKEOUtils.OptimisticLockAction creation earlier in this thread, it is the same thing. Each time we create an OptimisticLockAction, we create a different subclass of the abstract OL Action class with a new doPerform method. That after creation ,we can it.
>
> Same technique used in ERXEOAccessUtilities.ChannelAction.
>
> On Dec 3, 2009, at 2:21 PM, Ricardo J. Parada wrote:
>
>>
>> On Dec 3, 2009, at 2:16 PM, Anjo Krank wrote:
>>
>>> return new ERXEC(os) {
>>> public boolean useAutoLock() {return false;}
>>>
>>> public boolean coalesceAutoLocks() {return false;}
>>> };
>>
>> Pardon my ignorance... Is this valid Java code, I mean creating and object followed by a { .. } block? What does that do?
>>
>> :-)
>>
>> Thanks,
>> Ricardo
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden