| 
WebObjects 5.2.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  |
  +--com.webobjects.eocontrol.EOFaultHandler
        |
        +--com.webobjects.eoaccess.EOAccessGenericFaultHandler
              |
              +--com.webobjects.eoaccess.EOAccessFaultHandler
EOAccessFaultHandler is a subclass of EOAccessGenericFaultHandler that implements an object fault for Enterprise Objects.
| Constructor Summary | |
EOAccessFaultHandler(EOKeyGlobalID globalID,
                     EODatabaseContext dbcontext,
                     EOEditingContext ec)
Returns a new fault handler with all of the information necessary to fetch the object when the fault is fired.  | 
|
| Method Summary | |
 void | 
completeInitializationOfObject(Object object)
Asks the receiver's database context to fetch the object if it is not already in memory.  | 
 String | 
descriptionForObject(Object object)
Returns a string naming the original class of the receiver's fault and giving the fault's id, also noting that it's a fault.  | 
 EOKeyGlobalID | 
globalID()
Returns the receiver's globalID.  | 
 String | 
toString()
Returns a string representation of the fault handler.  | 
| Methods inherited from class com.webobjects.eoaccess.EOAccessGenericFaultHandler | 
databaseContext, editingContext, faultWillFire, generation, linkAfterHandler, next, previous, processQueue, setContext | 
| Methods inherited from class com.webobjects.eocontrol.EOFaultHandler | 
clearFault, createFaultForDeferredFault, eoShallowDescription, handlerForFault, isFault, makeObjectIntoFault, targetClass | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public EOAccessFaultHandler(EOKeyGlobalID globalID,
                            EODatabaseContext dbcontext,
                            EOEditingContext ec)
globalID - The EOKeyGlobalID for the object to be faulted in.dbcontext - The EODatabaseContext that should be used to load
                  the object to be faulted in.ec - The EOEditingContext in which the faulted object
                  should be recorded.| Method Detail | 
public void completeInitializationOfObject(Object object)
EOObjectStore interface to get
 the information from the receiver's editing context. Throws an 
 exception if the fault was fired while there was another fetch
 in progress and there were no database channels available to process
 this fault.
completeInitializationOfObject in class EOAccessGenericFaultHandlerobject - The fault object.
IllegalStateException - if there are no database
               channels available to process this fault.EOEnterpriseObjectpublic String descriptionForObject(Object object)
descriptionForObject in class EOFaultHandlerobject - The fault object.
EOEnterpriseObject.eoShallowDescription(), 
EOEnterpriseObject.eoDescription()public EOKeyGlobalID globalID()
public String toString()
toString in class EOFaultHandler
  | 
Last updated Mon Oct 13 15:42:52 PDT 2003. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||