Business Components

oracle.jbo
Class ViewClearCacheEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--oracle.jbo.JboEvent
              |
              +--oracle.jbo.ViewClearCacheEvent
All Implemented Interfaces:
java.io.Serializable

public class ViewClearCacheEvent
extends JboEvent

Generated by ViewObject inform its listeners when the cache is cleared.

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ViewClearCacheEvent(Transaction source, ViewObject[] vos)
          Creates a View Object clear-cache event.
 
Method Summary
TypeMethod
 ViewObject[] getViewObjects()
          Returns an array of View Objects whose cache has been cleared.
 java.lang.String toString()
          Internal: For debugging only.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewClearCacheEvent

public ViewClearCacheEvent(Transaction source,
                           ViewObject[] vos)
Creates a View Object clear-cache event.
Parameters:
source - the publisher of the event (a Transaction).
Method Detail

getViewObjects

public ViewObject[] getViewObjects()
Returns an array of View Objects whose cache has been cleared. A View Object cache can be cleared thourgh a call to ViewObject.clearCache(), or Transaction.clearEntityCache(String), or ApplicationModule.clearVOCaches(String, boolean).
Returns:
an array of View Objects.

toString

public java.lang.String toString()
Internal: For debugging only.
Overrides:
toString in class java.util.EventObject
Returns:
a diagnostic string.

Business Components