Expresso 5-5-0

com.jcorporate.expresso.services.asyncprocess
Interface AsyncProcess


public interface AsyncProcess

Interface for a process that is to be completed asynchronously while other things in the Expresso system goes on.

Version:
$Revision: 1.2 $ on $Date: 2003/10/01 01:18:37 $
Author:
Michael Rimov

Method Summary
 Object getStatus()
          Retrieve an object that describes the current status of the process
 void kill()
          Function that is called when the process should exit AS FAST AS POSSIBLE.
 Object process()
          Implemented by the class, and called
 

Method Detail

process

public Object process()
               throws Exception
Implemented by the class, and called

Returns:
java.lang.Object the result of the processing
Throws:
Exception

kill

public void kill()
Function that is called when the process should exit AS FAST AS POSSIBLE.


getStatus

public Object getStatus()
Retrieve an object that describes the current status of the process

Returns:
java.lang.Object

Expresso 5-5-0

Please see www.jcorporate.com for information about new Expresso releases.