com.japisoft.framework
Class ApplicationStepAdapter

java.lang.Object
  extended bycom.japisoft.framework.ApplicationStepAdapter
All Implemented Interfaces:
ApplicationStep
Direct Known Subclasses:
ClassInstanceStep, InterfaceBuilderStep, LookAndFeelStep

public class ApplicationStepAdapter
extends java.lang.Object
implements ApplicationStep

A simple application step. By default not final. Most of the time the user has only to inherit and override the start method.

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

Constructor Summary
ApplicationStepAdapter()
           
 
Method Summary
 boolean isFinal()
           
 void start(java.lang.String[] args)
          Start this application step.
 void stop()
          This is called when terminating this application step.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationStepAdapter

public ApplicationStepAdapter()
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

stop

public void stop()
Description copied from interface: ApplicationStep
This is called when terminating this application step. You can use it for freeing any allocated resource

Specified by:
stop in interface ApplicationStep

isFinal

public boolean isFinal()
Specified by:
isFinal in interface ApplicationStep
Returns:
true if this application step must be called when terminating the application