MHP Resource Management

I am a middleware developer implementing resource management. I like to follow the policy in which an application with higher priority will be allocated the scarce resource. As per my understanding of Davic APIs, an application requesting a scarce resource and implementing the ResourceClient interface would pass the ResourceClient object as parameter to request the resource proxy to reserve the scarce resource. Now, in this scenerio, as a middleware developer, my problem is that how can I get the AppID(AppPriority) of the requested application? I think that I have only the resource client object from the application to get the information about the application. Am I right? Please help me if anybody have a solution.

[731 byte] By [ReshmiDamodara] at [2007-9-25]
# 1
The same problem with HSceneFactory.getDefaultHScene() method. It's supposed to know in what application context it's called.
evgeny4a at 2007-7-14 > top of java,Java Mobility Forums,Consumer and Commerce...
# 2
I can help you Reshmi. Please call me on my cell.Rechu.
rechudamodara at 2007-7-14 > top of java,Java Mobility Forums,Consumer and Commerce...