'. '

Talk:Privileged API

From APIDesign

Revision as of 05:03, 23 February 2011 by 94.100.25.194 (Talk)
Jump to: navigation, search

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)

Eminnahiz said ...

http://oemsoft4you.com/brand/accessory/accessory_picture_viewer_max_6_6_windows/ - Buy cheap Accessory Picture Viewer Max 6.6 Oem Software Version http://oemsoft4you.com/brand/paragon/paragon_partition_manager_10_server_winodws/ - Buy cheap Paragon Partition Manager 10 Server Oem Software Version http://oemsoft4you.com/brand/tomtom/map_of_united_kingdom_republic_of_ireland_8_55_2884/ - Buy cheap TomTom map of United Kingdom & Republic of Ireland 8.55.2884 Oem Software Version http://oemsoft4you.com/brand/cyberlink/cyberlink_mediaespresso_6_windows/ - Buy cheap Cyberlink MediaEspresso 6 Oem Software Version http://oemsoft4you.com/brand/microsoft/microsoft_windows_xp_2008_live_usb_editio_windows/ - Buy cheap Microsoft Windows XP 2008 Live USB Edition Oem Software Version


--[http://oemsoft4you.com/brand/emco_software/remote_desktop/

Eminnahiz] 06:03, 23 February 2011 (CET)
Personal tools
buy