|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepositoryListener
An interface that can be implemented to receive notifications about the progress of the initialization of a repository.
Repository| Method Summary | |
|---|---|
void |
initActionPerformed(Participant participant)
This method is called when an action has ended during the repository initialization. |
void |
initFinished()
This method is called when the initialization of the repository has completely finished. |
| Method Detail |
|---|
void initActionPerformed(Participant participant)
Every supporting participant should call this when its own initialization is finished, but also has the possibility to call it explicitely at any moment. This allows them to detail their initialization steps as much as is needed.
Typically, the object that implements this method displays the
advancement of the repository initialization. Therefore, it's best to
first set up all participants. Then, the application is run for the
first time to determine exactly how many actions are performed and how
they are subdivided for each participant. Using this information, the
RepositoryListener can provide a correct visual
representation of the initialization process.
participant - The participant that triggered the action.void initFinished()
This can for instance be used by the RepositoryListener
to know when to display the actual application window.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||