|
WebObjects 5.2.3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.eoapplication.EOApplication.ApplicationSupport
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 |
public EOApplication.ApplicationSupport()
Method Detail |
public void acknowledgeQuit()
public void finishStartup(NSDictionary arguments)
arguments
- the arguments to the application known at this timepublic void prepareApplication(EOApplication application, NSDictionary arguments)
application
- the EOApplication instancearguments
- the arguments to the application known at this timepublic void prepareClasses(NSDictionary arguments)
arguments
- the arguments to the application known at this timepublic void prepareGlobalObjects(NSDictionary arguments)
arguments
- the arguments to the application known at this timepublic void refreshData()
public void runStartupDialogs(NSDictionary arguments)
arguments
- the arguments to the application known at this time
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |