public class ThreadSafeSourceLocator extends Object implements SourceLocator
Constructor and Description |
---|
ThreadSafeSourceLocator(Object syncObj,
SourceLocator sourceLocator) |
Modifier and Type | Method and Description |
---|---|
int |
getChangeCount()
Returns a number which indicates how many times this SourceLocator's
search algorithm has been changed since it was created.
|
Object |
getSyncObject() |
InputStream |
locateSource(String arg0,
String arg1,
String arg2)
Callback from DJAPI to the debugger, to find a source file.
|
static ThreadSafeSourceLocator |
wrap(Object syncObj,
SourceLocator sourceLocator)
Wraps a SourceLocator inside a ThreadSafeSourceLocator.
|
public ThreadSafeSourceLocator(Object syncObj, SourceLocator sourceLocator)
syncObj
- public static ThreadSafeSourceLocator wrap(Object syncObj, SourceLocator sourceLocator)
public InputStream locateSource(String arg0, String arg1, String arg2)
SourceLocator
locateSource
in interface SourceLocator
public int getChangeCount()
SourceLocator
getChangeCount
in interface SourceLocator
public final Object getSyncObject()
Copyright © 2016 The Apache Software Foundation. All rights reserved.