org.nakedobjects.runtime.fixturesinstaller
Class FixturesInstallerAbstract

java.lang.Object
  extended by org.nakedobjects.runtime.installers.InstallerAbstract
      extended by org.nakedobjects.runtime.fixturesinstaller.FixturesInstallerAbstract
All Implemented Interfaces:
ApplicationScopedComponent, Component, Installer, ConfigurationBuilderAware, FixturesInstaller
Direct Known Subclasses:
FixturesFromConfiguration, FixturesInstallerNoop

public abstract class FixturesInstallerAbstract
extends InstallerAbstract
implements FixturesInstaller


Field Summary
 
Fields inherited from interface org.nakedobjects.runtime.fixturesinstaller.FixturesInstaller
TYPE
 
Constructor Summary
FixturesInstallerAbstract(java.lang.String name)
           
 
Method Summary
protected abstract  void addFixturesTo(FixturesInstallerDelegate delegate)
          Add fixtures to delegate; these are then installed.
 LogonFixture getLogonFixture()
          The Fixture (if any) added via #installFixture(Fixture) that is an instance of LogonFixture.
 void installFixtures()
           
 
Methods inherited from class org.nakedobjects.runtime.installers.InstallerAbstract
addConfigurationResources, getConfiguration, getConfigurationResources, getName, getType, init, setConfiguration, setConfigurationBuilder, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.metamodel.commons.component.Installer
getConfigurationResources, getName, getType
 
Methods inherited from interface org.nakedobjects.metamodel.commons.component.ApplicationScopedComponent
init, shutdown
 

Constructor Detail

FixturesInstallerAbstract

public FixturesInstallerAbstract(java.lang.String name)
Method Detail

installFixtures

public void installFixtures()
Specified by:
installFixtures in interface FixturesInstaller

addFixturesTo

protected abstract void addFixturesTo(FixturesInstallerDelegate delegate)
Add fixtures to delegate; these are then installed.


getLogonFixture

public LogonFixture getLogonFixture()
Description copied from interface: FixturesInstaller
The Fixture (if any) added via #installFixture(Fixture) that is an instance of LogonFixture.

If there is more than one LogonFixture, then the last one installed is returned.

Specified by:
getLogonFixture in interface FixturesInstaller


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.