Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.ide.task.locking
Class ResourceLock

java.lang.Object
  extended by oracle.ide.task.locking.TaskLockRequest
      extended by oracle.ide.task.locking.WorkspaceLock
          extended by oracle.ide.task.locking.ProjectLock
              extended by oracle.ide.task.locking.ResourceLock


public class ResourceLock
extends ProjectLock

The lowest level lock for any resource, such as a source file.


Constructor Summary
ResourceLock(Workspace workspace, Project project, Node n)
          Note that the Workspace and Project in which the resource resides are required, although only the resource itself will be locked.

 

Method Summary
 java.net.URL getURL()
          Retrieve the URL of the underlying resource.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ResourceLock

public ResourceLock(Workspace workspace,
                    Project project,
                    Node n)
Note that the Workspace and Project in which the resource resides are required, although only the resource itself will be locked.
Parameters:
workspace - Workspace in which the project belongs.
project - Project in which the Node belongs.
n - Node to be locked.

Method Detail

getURL

public java.net.URL getURL()
Description copied from class: WorkspaceLock
Retrieve the URL of the underlying resource.
Overrides:
getURL in class ProjectLock
Returns:
See Also:
ProjectLock.getURL()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.