org.apache.commons.scaffold.util
Interface Executable


public interface Executable

Simple interface to describe public methods on a business logic object.

Version:
$Revision: 155464 $ $Date: 2005-02-26 13:26:54 +0000 (Sat, 26 Feb 2005) $
Author:
Ted Husted

Method Summary
 Object execute()
          Perform business logic for this bean, often by passing default values to the Object execute(Object) signature.
 Object execute(Object parameters)
          Perform business logic for this, by retrieving any settings from the parameter object, and return a result object.
 

Method Detail

execute

Object execute()
               throws Exception
Perform business logic for this bean, often by passing default values to the Object execute(Object) signature. If there is no default, it is recommended that a subclass throw an UnsupportedOperationException instead.

Throws:
Throws - Exception on any error. A subclass of ChainedException is recommended.
Exception

execute

Object execute(Object parameters)
               throws Exception
Perform business logic for this, by retrieving any settings from the parameter object, and return a result object.

Throws:
Throws - Exception on any error. A subclass of ChainedException is recommended.
Exception


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.