|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceClient
This interface should be implemented by objects that use a scarce resource.
| Method Summary | |
|---|---|
void |
notifyRelease(ResourceProxy proxy)
A call to this operation notifies the ResourceClient that proxy has lost access to a resource. |
void |
release(ResourceProxy proxy)
A call to this operation informs the ResourceClient that proxy is about to lose access to a resource. |
boolean |
requestRelease(ResourceProxy proxy,
Object requestData)
A call to this operation informs the ResourceClient that another application has requested the resource accessed via the proxy parameter. |
| Method Detail |
|---|
boolean requestRelease(ResourceProxy proxy,
Object requestData)
proxy - the ResourceProxy representing the scarce resource to the applicationrequestData - application specific data
void release(ResourceProxy proxy)
proxy - the ResourceProxy representing the scarce resource to the applicationvoid notifyRelease(ResourceProxy proxy)
proxy - the ResourceProxy representing the scarce resource to the application
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||