com.werken.blissed.activity
Class SpawnActivity

java.lang.Object
  |
  +--com.werken.blissed.activity.SpawnActivity
All Implemented Interfaces:
Activity

public class SpawnActivity
extends java.lang.Object
implements Activity

An Activity that spawns another Process.

Version:
$Id: SpawnActivity.java,v 1.2 2002/09/16 14:59:51 bob Exp $
Author:
bob mcwhirter

Constructor Summary
SpawnActivity(Process process)
          Construct.
 
Method Summary
 Process getProcess()
          Retrieve the Process to call.
 void perform(ProcessContext context)
          Perform this activity within the specified procession.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpawnActivity

public SpawnActivity(Process process)
Construct.
Parameters:
process - The process to spawn.
Method Detail

getProcess

public Process getProcess()
Retrieve the Process to call.
Returns:
The process to call.

perform

public void perform(ProcessContext context)
             throws ActivityException
Perform this activity within the specified procession.
Specified by:
perform in interface Activity
Parameters:
context - The process context
Throws:
ActivityException - if an error occurs.


Copyright © 2002-2002 The Werken Company. All Rights Reserved.