Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2002 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2002 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 BEA Systems, Inc. All Rights Reserved