Resource instances to implement their resource disposal mechanics.
The drop(Object) method will be called by the resource when they are closed.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public Drop | Returns: A drop instance, similar to this one, but for the purpose of being associated with a different but related resource.Branch the responsibility of dropping a resource. |
| attach | back to summary |
|---|---|
| public void attach(T obj) Called when the resource changes owner.
| |
| drop | back to summary |
|---|---|
| public void drop(T obj) Dispose of the resources in the given
| |
| fork | back to summary |
|---|---|
| public Drop Branch the responsibility of dropping a resource. This drop instance will remain associated with its current resource, while the returned drop instance must be attached to its new resource.
| |