org.apache.tuscany.samples.sdo
Class ExecuteSamples
java.lang.Object
org.apache.tuscany.samples.sdo.internal.SampleInfrastructure
org.apache.tuscany.samples.sdo.SampleBase
org.apache.tuscany.samples.sdo.ExecuteSamples
public class ExecuteSamples
- extends SampleBase
A program to execute a sequence of SDO sample programs. The program executes
the sample programs listed in the sample classes
static constant. These samples are executed in roughly increasing order of complexity.
You can edit the pauseBetweenSamples
, runSamplesUpToLevel
and
constructorArgs
variables to change the way this program executes the samples.
Each of the samples creates text output to the console. If the commentary
level in the sample program constructor arguments
used to construct each sample is set to
COMMENTARY_FOR_NOVICE
then there
will be much more output than if set to one of the other values.
Fields inherited from class org.apache.tuscany.samples.sdo.internal.SampleInfrastructure |
COMMENTARY_ALWAYS, COMMENTARY_FOR_ADVANCED, COMMENTARY_FOR_INTERMEDIATE, COMMENTARY_FOR_NOVICE, commentaryLevel, COMPANY_DATAGRAPH_XML, COMPANY_DATAOBJECT_XML, COMPANY_NAMESPACE, COMPANY_XSD, PO_NAMESPACE, PO_XML_GENERATED, PO_XML_RESOURCE, PO_XSD_RESOURCE, SAMPLE_LEVEL_ADVANCED, SAMPLE_LEVEL_BASIC, SAMPLE_LEVEL_INTERMEDIATE, sampleClasses, sampleComplexityLevel, userLevels |
Methods inherited from class org.apache.tuscany.samples.sdo.internal.SampleInfrastructure |
banner, banner, commentary, commentary, commentary, commentary, getSampleComplexityLevel, run, setSampleComplexityLevel, somethingUnexpectedHasHappened, yesOrNoFromUser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecuteSamples
public ExecuteSamples(Integer userLevel)
main
public static void main(String[] args)
throws SecurityException,
NoSuchMethodException,
IllegalArgumentException,
InstantiationException,
IllegalAccessException,
InvocationTargetException,
IOException
- Throws:
SecurityException
NoSuchMethodException
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException
IOException
runSample
public void runSample()
throws Exception
- Specified by:
runSample
in class SampleInfrastructure
- Throws:
Exception
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.