org.nakedobjects.example.expenses
Class ExpensesExploration

java.lang.Object
  extended byorg.nakedobjects.Application
      extended byorg.nakedobjects.Exploration
          extended byorg.nakedobjects.example.expenses.ExpensesExploration

public class ExpensesExploration
extends Exploration


Field Summary
 
Fields inherited from class org.nakedobjects.Exploration
DEFAULT_CONFIG, OBJECT_STORE, VIEWING_MECHANISM
 
Constructor Summary
ExpensesExploration()
           
 
Method Summary
 void classSet(NakedClassList set)
          hook method which the subclass must implement to add any classes into the supplied NakedClassList
protected  java.lang.String configurationFile()
          hook method to return the name of the configuration file.
protected  void initObjects()
          Hook method allowing subclass to initialize any objects.
static void main(java.lang.String[] args)
           
 
Methods inherited from class org.nakedobjects.Exploration
addInstance, createInstance, createInstance, getObjectStore, hasNoInstances, init, installApplication, installObjectStore
 
Methods inherited from class org.nakedobjects.Application
configureSystemLogging, hasProperty, loadConfiguration, set, setting
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpensesExploration

public ExpensesExploration()
Method Detail

classSet

public void classSet(NakedClassList set)
Description copied from class: Exploration
hook method which the subclass must implement to add any classes into the supplied NakedClassList

Specified by:
classSet in class Exploration
Parameters:
set - - the list to which naked classes should be added.

main

public static void main(java.lang.String[] args)

configurationFile

protected java.lang.String configurationFile()
Description copied from class: Exploration
hook method to return the name of the configuration file. Called by init method.

The default implementation simply returns null, meaning that the default configuration file will be used.

Overrides:
configurationFile in class Exploration
See Also:
Exploration.DEFAULT_CONFIG

initObjects

protected void initObjects()
                    throws ObjectStoreException
Description copied from class: Exploration
Hook method allowing subclass to initialize any objects. This is useful during the Exploration phase to set up any commonly used test phase (especially if the default TransientObjectStore is being returned by the installObjectStore method).

The default implementation of this method within this class does nothing.

Overrides:
initObjects in class Exploration
Throws:
ObjectStoreException
See Also:
Exploration.installObjectStore(), TransientObjectStore