org.apache.shale.remoting
Interface Processor

All Known Implementing Classes:
AbstractResourceProcessor, ChainProcessor, ClassResourceProcessor, FilteringProcessor, MethodBindingProcessor, WebResourceProcessor

public interface Processor

Interface describing business logic responsible for processing an incoming remoting request, and creating the corresponding response.


Method Summary
 void process(javax.faces.context.FacesContext context, String resourceId)
          Process the current request, producing the corresponding response by whatever means is appropriate.
 

Method Detail

process

void process(javax.faces.context.FacesContext context,
             String resourceId)
             throws IOException

Process the current request, producing the corresponding response by whatever means is appropriate. The state of the current request can be derived by calling FacesContext.getCurrentInstance(). Typically, an implementation of this method will call the responseComplete() method on this FacesContext instance, to bypass the remainder of the standard JavaServer Faces request processing lifecycle.

Parameters:
context - FacesContext for the current request
resourceId - Resource identifier used to select the appropriate response (this will generally be a context relative path starting with "/")
Throws:
IOException - if an input/output error occurs
NullPointerException - if resourceId is null


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.