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

E17493-01

oracle.javatools.parser.java.v2.write
Interface SourceFileListener

All Known Implementing Classes:
CachedFileProvider.SourceFileTracker

public interface SourceFileListener

Listens to events sent directly from the SourceFile.


Field Summary
static SourceFileListener[] EMPTY_ARRAY
           
 
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.
 

Field Detail

EMPTY_ARRAY

static final SourceFileListener[] EMPTY_ARRAY
Method Detail

expiredUpdate

void expiredUpdate(SourceFile file)
The originating SourceFile instance has expired and is now invalid. No further updates will be sent on this SourceFile.


changeUpdate

void changeUpdate(SourceFile file,
                  SourceTransaction transaction)
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.

Parameters:
transaction - A committed transaction.

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

E17493-01

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