|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.runtime.installers.InstallerAbstract
org.nakedobjects.runtime.fixturesinstaller.FixturesInstallerAbstract
org.nakedobjects.plugins.headless.junit.internal.FixtureInstallerAnnotatedClass
public class FixtureInstallerAnnotatedClass
| Field Summary |
|---|
| Fields inherited from interface org.nakedobjects.runtime.fixturesinstaller.FixturesInstaller |
|---|
TYPE |
| Constructor Summary | |
|---|---|
FixtureInstallerAnnotatedClass()
|
|
| Method Summary | |
|---|---|
void |
addFixturesAnnotatedOn(java.lang.Class<?> javaClass)
Should be called prior to installing; typically called immediately after instantiation. |
protected void |
addFixturesTo(FixturesInstallerDelegate delegate)
Just copies the fixtures added using addFixturesAnnotatedOn(Class)
into the delegate. |
| Methods inherited from class org.nakedobjects.runtime.fixturesinstaller.FixturesInstallerAbstract |
|---|
getLogonFixture, 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 |
|---|
public FixtureInstallerAnnotatedClass()
addFixturesAnnotatedOn(Class)| Method Detail |
|---|
protected void addFixturesTo(FixturesInstallerDelegate delegate)
addFixturesAnnotatedOn(Class)
into the delegate.
addFixturesTo in class FixturesInstallerAbstract
public void addFixturesAnnotatedOn(java.lang.Class<?> javaClass)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
Note: an alternative design would be to have a 1-arg constructor, but the convention for installers is to make them no-arg.
java.lang.InstantiationException
java.lang.IllegalAccessException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||