com.japisoft.framework.step
Class ClassInstanceStep

java.lang.Object
  extended bycom.japisoft.framework.ApplicationStepAdapter
      extended bycom.japisoft.framework.step.ClassInstanceStep
All Implemented Interfaces:
ApplicationStep

public class ClassInstanceStep
extends ApplicationStepAdapter

Here a way to create an object from a class when starting the application

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Constructor Summary
ClassInstanceStep(java.lang.String className)
          A class name for building the object
ClassInstanceStep(java.lang.String className, boolean forMacOSXOnly)
          A class name for building the object.
 
Method Summary
 void start(java.lang.String[] args)
          Start this application step.
 
Methods inherited from class com.japisoft.framework.ApplicationStepAdapter
isFinal, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassInstanceStep

public ClassInstanceStep(java.lang.String className)
A class name for building the object


ClassInstanceStep

public ClassInstanceStep(java.lang.String className,
                         boolean forMacOSXOnly)
A class name for building the object.

Parameters:
className - A class name
forMacOSXOnly - decide to use it only for Mac OS X
Method Detail

start

public void start(java.lang.String[] args)
Description copied from interface: ApplicationStep
Start this application step. The application main parameters are provided. It may throw an ApplicationStepException

Specified by:
start in interface ApplicationStep
Overrides:
start in class ApplicationStepAdapter