org.alfresco.web.app.servlet.command
Interface ExtCommandProcessor
- All Superinterfaces:
- CommandProcessor
- All Known Implementing Classes:
- UIActionCommandProcessor
public interface ExtCommandProcessor
- extends CommandProcessor
This interfaces defines the contract and lifecycle of a Servlet Command Processor.
The ExtCommandProcessor adds an overloaded process() method to allow the
HttpServletResponse to be passed.
Method Summary |
void |
process(org.alfresco.service.ServiceRegistry serviceRegistry,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String command)
Process the supplied command name. |
process
void process(org.alfresco.service.ServiceRegistry serviceRegistry,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String command)
- Process the supplied command name. It is the responsibility of the Command Processor
to lookup the specified command name using the CommandFactory registry. For that reason
it also has the responsiblity to initially register commands it is responsible for so
they can be constructed later. If the supplied command is unknown to it then an
exception should be thrown to indicate this.
- Parameters:
serviceRegistry
- ServiceRegistryrequest
- HttpServletRequestresponse
- HttpServletResponsecommand
- Name of the command to construct and execute
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.