Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

oracle.jbo.script.debug.client.bdi
Class SourceManager

java.lang.Object
  extended by oracle.jbo.script.debug.client.bdi.SourceManager

public class SourceManager
extends java.lang.Object

Manage the list of source files. Origin of SourceListener events.


Constructor Summary
SourceManager(ExecutionManager runtime)
           
SourceManager(ExecutionManager runtime, SearchPath sourcePath)
           
 
Method Summary
 void addSourceListener(SourceListener l)
           
 SearchPath getSourcePath()
          Get path for access to source code.
 void removeSourceListener(SourceListener l)
           
 void setSourcePath(SearchPath sp)
          Set path for access to source code.
 SourceModel sourceForClass(com.sun.jdi.ReferenceType refType)
          Get source object associated with a class or interface.
 SourceModel sourceForFile(java.io.File path)
          Get source object associated with an absolute file path.
 SourceModel sourceForLocation(com.sun.jdi.Location loc)
          Get source object associated with a Location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceManager

public SourceManager(ExecutionManager runtime)

SourceManager

public SourceManager(ExecutionManager runtime,
                     SearchPath sourcePath)
Method Detail

setSourcePath

public void setSourcePath(SearchPath sp)
Set path for access to source code.


addSourceListener

public void addSourceListener(SourceListener l)

removeSourceListener

public void removeSourceListener(SourceListener l)

getSourcePath

public SearchPath getSourcePath()
Get path for access to source code.


sourceForLocation

public SourceModel sourceForLocation(com.sun.jdi.Location loc)
Get source object associated with a Location.


sourceForClass

public SourceModel sourceForClass(com.sun.jdi.ReferenceType refType)
Get source object associated with a class or interface. Returns null if not available.


sourceForFile

public SourceModel sourceForFile(java.io.File path)
Get source object associated with an absolute file path.


Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

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