org.jboss.portal.core.controller.command.mapper
Interface CommandFactory
- All Known Subinterfaces:
- CMSObjectCommandFactory, DelegatingCommandFactory
- All Known Implementing Classes:
- AbstractCommandFactory, AjaxCommandFactory, CMSObjectCommandFactoryService, CommandFactoryDelegate, DefaultPortalCommandFactory, DelegatingCommandFactoryService, InstanceCommandFactory, PortalObjectCommandFactory, SimpleCommandFactory
public interface CommandFactory
The CommandMapper
interface defines a service that can map an invocation to a command and also provide a
mapping from a command to an url.
- Version:
- $Revision: 7028 $
- Author:
- Julien Viet
doMapping
ControllerCommand doMapping(ControllerContext controllerContext,
ServerInvocation invocation,
java.lang.String host,
java.lang.String contextPath,
java.lang.String requestPath)
- Create a command.
- Parameters:
controllerContext
- the controller contextinvocation
- the server invocationhost
- the hostcontextPath
- the context pathrequestPath
- the request path @return the command or null if no command is recognized