info.aduna.spectacle
Class InitializationAdapter

java.lang.Object
  extended by info.aduna.spectacle.InitializationAdapter
All Implemented Interfaces:
InitializationListener

public abstract class InitializationAdapter
extends Object
implements InitializationListener

A dummy implementation of the InitializationListener interface.


Constructor Summary
InitializationAdapter()
           
 
Method Summary
 void descriptionsRead(int nrDescriptions)
          Notifies that the ProfileManager has found the specified number of valid Profile descriptions, which will subsequently be resolved to Profile instances.
 void failedLoadingProfile(String id, Exception cause)
          Notifies that the ProfileManager could not load or initialize the Profile with the specified ID because of the specified exception.
 void finishedLoadingProfiles()
          Notifies that the ProfileManager has finished loading and initializing its Profiles.
 void incorrectProfileDescription(String id, Exception cause)
          Notifies that the ProfileManager has found an incorrect Profile description that will thus be skipped.
 void loadedProfile(Profile profile)
          Notifies that the ProfileManager has successfully loaded and initialized the specified Profile.
 void startingLoadingProfiles()
          Notifies that the ProfileManager is about to load its defined Profiles.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitializationAdapter

public InitializationAdapter()
Method Detail

startingLoadingProfiles

public void startingLoadingProfiles()
Description copied from interface: InitializationListener
Notifies that the ProfileManager is about to load its defined Profiles.

Specified by:
startingLoadingProfiles in interface InitializationListener

incorrectProfileDescription

public void incorrectProfileDescription(String id,
                                        Exception cause)
Description copied from interface: InitializationListener
Notifies that the ProfileManager has found an incorrect Profile description that will thus be skipped. An Exception explaining the cause is also specified.

Specified by:
incorrectProfileDescription in interface InitializationListener

descriptionsRead

public void descriptionsRead(int nrDescriptions)
Description copied from interface: InitializationListener
Notifies that the ProfileManager has found the specified number of valid Profile descriptions, which will subsequently be resolved to Profile instances.

Specified by:
descriptionsRead in interface InitializationListener

loadedProfile

public void loadedProfile(Profile profile)
Description copied from interface: InitializationListener
Notifies that the ProfileManager has successfully loaded and initialized the specified Profile.

Specified by:
loadedProfile in interface InitializationListener

failedLoadingProfile

public void failedLoadingProfile(String id,
                                 Exception cause)
Description copied from interface: InitializationListener
Notifies that the ProfileManager could not load or initialize the Profile with the specified ID because of the specified exception.

Specified by:
failedLoadingProfile in interface InitializationListener

finishedLoadingProfiles

public void finishedLoadingProfiles()
Description copied from interface: InitializationListener
Notifies that the ProfileManager has finished loading and initializing its Profiles.

Specified by:
finishedLoadingProfiles in interface InitializationListener


Copyright © 1997-2008 Aduna. All Rights Reserved.