Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.jdeveloper.java.provider
Class CachedFileProvider.SourceFileTracker

java.lang.Object
  extended by oracle.jdeveloper.java.provider.CachedFileProvider.SourceFileTracker
All Implemented Interfaces:
SourceFileListener
Enclosing class:
CachedFileProvider

protected class CachedFileProvider.SourceFileTracker
extends java.lang.Object
implements SourceFileListener

The SourceFileTracker just listens to SourceFile instances that we create/cache, expiring them from our cache when they get modified outside of a transaction.


Field Summary
 
Fields inherited from interface oracle.javatools.parser.java.v2.write.SourceFileListener
EMPTY_ARRAY
 
Constructor Summary
protected CachedFileProvider.SourceFileTracker(SourceFile sourceFile, java.net.URL sourceURL)
           
 
Method Summary
 void changeUpdate(SourceFile file, SourceTransaction transaction)
          A transaction was committed against this source file.
 void expiredUpdate(SourceFile file)
          The originating SourceFile instance has expired and is now invalid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedFileProvider.SourceFileTracker

protected CachedFileProvider.SourceFileTracker(SourceFile sourceFile,
                                               java.net.URL sourceURL)
Method Detail

expiredUpdate

public void expiredUpdate(SourceFile file)
Description copied from interface: SourceFileListener
The originating SourceFile instance has expired and is now invalid. No further updates will be sent on this SourceFile.

Specified by:
expiredUpdate in interface SourceFileListener

changeUpdate

public void changeUpdate(SourceFile file,
                         SourceTransaction transaction)
Description copied from interface: SourceFileListener
A transaction was committed against this source file. The details of the changes may be retrieved from the transaction. Empty transactions will not cause a change update to be sent. Clients may NOT assume that updates are sent on the UI thread. Updates are sent on the thread that committed the transaction.

Specified by:
changeUpdate in interface SourceFileListener
transaction - A committed transaction.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

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