org.apache.commons.scaffold.util
Interface BizService

All Known Implementing Classes:
BizServiceImpl

public interface BizService

A business service facade designed to be invoked through a process method.

Version:
$Revision: 1.4 $ $Date: 2004/03/21 21:10:10 $

Method Summary
 BizResponse process(BizRequest request)
          Perform the business logic for this service, by retrieving any runtime properties from the business request [org.apache.commons.util.BizRequest] and providing the result as a business response [org.apache.commons.util.BizResponse].
 

Method Detail

process

public BizResponse process(BizRequest request)
                    throws java.lang.Exception
Perform the business logic for this service, by retrieving any runtime properties from the business request [org.apache.commons.util.BizRequest] and providing the result as a business response [org.apache.commons.util.BizResponse].

The business service may often be a facade that is used to connect to other services.

Parameters:
request - The bean containing the runtime parameters for this service.
Throws:
Throws - Exception on any error. A ChainedException is recommended..
java.lang.Exception


Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.