'. '

Talk:Privileged API

From APIDesign

(Difference between revisions)
Jump to: navigation, search
(Comment provided by Melba - via ArticleComments extension)
Current revision (09:15, 29 July 2012) (edit) (undo)
(Comment provided by Imogen - via ArticleComments extension)
 
Line 28: Line 28:
--[http://SEOGURUBD.com Melba] 21:59, 15 July 2012 (CEST)
--[http://SEOGURUBD.com Melba] 21:59, 15 July 2012 (CEST)
 +
</div>
 +
== Imogen said ... ==
 +
 +
<div class='commentBlock'>
 +
Golf Training Aid. Golf RZ Putting stroke trainer is patented indoor and outdoor Golf Putter Trainer.
 +
You can easily make your putt stroke better with this great tool.
 +
 +
--[http://www.puttertraining.com/ Imogen] 11:15, 29 July 2012 (CEST)
</div>
</div>

Current revision

Comments on Privileged API <comments />


Jeffrey D Smith said ...

In the readAccess(Runnable r) method, the call to lock.lock() must occur before the try block. Also, the method name "readAccess" is confusing, because it's not acquiring a read-only mutex (multi-threading), but a read-write mutex (single threading).

How do you stop unprivileged users from using the privileged constructor, thus gaining access to the privileged API?


--Jeffrey D Smith 21:48, 25 May 2009 (CEST)

Thanks for your comments, Jeffrey. The method names are relict of the actual Mutex class in NetBeans and they do not make much sense in separate example. Thus I've just changed the method names.

Also I've answered your question in new revision of the page.

--JaroslavTulach 07:42, 26 May 2009 (UTC)

Melba said ...

Nice post. I was checking continuously this blog and I am inspired! Extremely helpful information specially the last part :) I deal with such information much. I used to be seeking this certain information for a long time. Thank you and good luck.

--Melba 21:59, 15 July 2012 (CEST)

Imogen said ...

Golf Training Aid. Golf RZ Putting stroke trainer is patented indoor and outdoor Golf Putter Trainer. You can easily make your putt stroke better with this great tool.

--Imogen 11:15, 29 July 2012 (CEST)

Personal tools
buy