WebObjects 5.4.2

com.webobjects.eoapplication
Class EOApplication.ApplicationSupport

java.lang.Object
  extended by com.webobjects.eoapplication.EOApplication.ApplicationSupport
Direct Known Subclasses:
EOApplicationSupport, EOClientApplicationSupport
Enclosing class:
EOApplication

public abstract static class EOApplication.ApplicationSupport
extends Object

EOApplication.ApplicationSupport can encapsulate behavior of Java Client applications used in different architectures. An instance of EOApplication.ApplicationSupport is passed to the startApplication method on EOApplication and provides various methods used by the EOApplication instance to perform certain initalization and clean up tasks.

The application object passes an arguments dictionary to many methods. This dictionary contains all application arguments known to the appliation at this time (depending on the architecture more arguments might be added during the startup sequence). If the application support object gets access to more arguments, it should invoke the setArguments method on EOApplication.


Constructor Summary
EOApplication.ApplicationSupport()
          Creates a new EOApplication.ApplicationSupport object.
 
Method Summary
 void acknowledgeQuit()
          Gives the application support object an opportunity to complete the termination process of the application.
 void finishStartup(NSDictionary arguments)
          Gives the application support object an opportunity to complete the startup sequence of the application before the application starts listening to user events.
 void prepareApplication(EOApplication application, NSDictionary arguments)
          Gives the application support object an opportunity to prepare the application instance, for example to set the name and the default manager.
 void prepareClasses(NSDictionary arguments)
          Gives the application support object an opportunity to initialize principal classes.
 void prepareGlobalObjects(NSDictionary arguments)
          Gives the application support object an opportunity to initialize global objects, for example data source factories and distribution channels.
 void refreshData()
          This method is invoked to ask the application support object to refresh all the data fetched into the application to reflect the latest state.
 void runStartupDialogs(NSDictionary arguments)
          Gives the application support object an opportunity to run startup dialogs, for example to ask for connection URLs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EOApplication.ApplicationSupport

public EOApplication.ApplicationSupport()
Creates a new EOApplication.ApplicationSupport object.

Method Detail

runStartupDialogs

public void runStartupDialogs(NSDictionary arguments)
Gives the application support object an opportunity to run startup dialogs, for example to ask for connection URLs.

Parameters:
arguments - the arguments to the application known at this time

prepareClasses

public void prepareClasses(NSDictionary arguments)
Gives the application support object an opportunity to initialize principal classes.

Parameters:
arguments - the arguments to the application known at this time

prepareGlobalObjects

public void prepareGlobalObjects(NSDictionary arguments)
Gives the application support object an opportunity to initialize global objects, for example data source factories and distribution channels.

Parameters:
arguments - the arguments to the application known at this time

prepareApplication

public void prepareApplication(EOApplication application,
                               NSDictionary arguments)
Gives the application support object an opportunity to prepare the application instance, for example to set the name and the default manager. The application support object should not access the EOApplication instance before receiving this method.

Parameters:
application - the EOApplication instance
arguments - the arguments to the application known at this time

finishStartup

public void finishStartup(NSDictionary arguments)
Gives the application support object an opportunity to complete the startup sequence of the application before the application starts listening to user events.

Parameters:
arguments - the arguments to the application known at this time

refreshData

public void refreshData()
This method is invoked to ask the application support object to refresh all the data fetched into the application to reflect the latest state.


acknowledgeQuit

public void acknowledgeQuit()
Gives the application support object an opportunity to complete the termination process of the application.


Last updated June 2008

Copyright © 2000-2008 Apple Inc.