Hi ,
It's locking again

.
I have the following interface :
i've implemented this interface and added two additional methods :
Now, when I'm writing the code, i'm reallizing that i have to alter both the
public void delete(int recNo) method and the <v>public void update(int recNo,
String[] data), to add an client identifier. I need a client identifier argument to identify whether a special someone does/doesn't hold the lock.
Of course, since i added another IF to my example, i could overload these two methods , to take the clientId as a parameter.
The question is :
How have you guys done this?
What have you done with the
lock(int recNo) methods provided by Sun. I myself have implemented them to work using the
Thread as an identifier, but annotated them with @Deprecated.
Really looking for suggestions,
Thanks,
Victor