© 2002 BEA Systems, Inc.


com.bea.p13n.appflow.webflow
Interface Processor


public interface Processor

This interface executes the various kinds of Webflow processors (ex: InputProcessor, Pipelines, etc)


Method Summary
 java.lang.Object process(java.lang.String webapp, java.lang.String namespace, javax.servlet.http.HttpServletRequest request, java.lang.Object requestContext)
          Executes the processor indicated by the request.
 

Method Detail

process

public java.lang.Object process(java.lang.String webapp,
                                java.lang.String namespace,
                                javax.servlet.http.HttpServletRequest request,
                                java.lang.Object requestContext)
                         throws java.lang.Exception
Executes the processor indicated by the request. The return object can be anything, but it must have a meaningful implementation of toString(). The webflow executor will call toString() on the returned object to generate the event for the processor.

Parameters:
webapp - a String containing the webapp name.
namespace - a String containing the namespace name.
name - a String containing the processor name (foo.inputprocessor, bar.pipeline)
request - the HttpServletRequest
requestContext - the Object object that uniquely identifes the associated request
Returns:
the results, as an Object. Can be anything, but must implement toString().
Throws:
java.lang.Exception - if an error occurs

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved