Uses of Interface
org.apache.commons.chain.Command

Packages that use Command
org.apache.commons.chain The fundamental API contracts for the Chain of Responsibilty Pattern as implemented in this package. 
org.apache.commons.chain.generic Concrete implementations of generic Commands that are useful in many different environments, not tied to a particular tier such as Servlets). 
org.apache.commons.chain.impl Convenient base implementations of Chain of Responsibility Pattern contracts from org.apache.commons.chain
org.apache.commons.chain.web Basis for specialized Context implementations suitable for use in web applications, and generic Command implementations useful across web application environments. 
org.apache.commons.chain.web.faces Specialized Context and Command implementations suitable for use in a JavaServer Faces API environment. 
org.apache.commons.chain.web.portlet Specialized Context and Command implementations suitable for use in a Portlet API environment. 
org.apache.commons.chain.web.servlet Specialized Context and Command implementations suitable for use in a Servlet API environment. 
 

Uses of Command in org.apache.commons.chain
 

Subinterfaces of Command in org.apache.commons.chain
 interface Chain
          A Chain represents a configured list of Commands that will be executed in order to perform processing on a specified Context.
 interface Filter
          A Filter is a specialized Command that also expects the Chain that is executing it to call the postprocess() method if it called the execute() method.
 

Methods in org.apache.commons.chain that return Command
 Command CatalogFactory.getCommand(String commandID)
          Return a Command based on the given commandID.
 Command Catalog.getCommand(String name)
          Return the Command or Chain associated with the specified name, if any; otherwise, return null.
 

Methods in org.apache.commons.chain with parameters of type Command
 void Chain.addCommand(Command command)
          Add a Command to the list of Commands that will be called in turn when this Chain's execute() method is called.
 void Catalog.addCommand(String name, Command command)
          Add a new name and associated Command or Chain to the set of named commands known to this Catalog, replacing any previous command for that name.
 

Uses of Command in org.apache.commons.chain.generic
 

Classes in org.apache.commons.chain.generic that implement Command
 class CopyCommand
          Copy a specified literal value, or a context attribute stored under the fromKey (if any), to the toKey.
 class DispatchCommand
          An abstract base command which uses introspection to look up a method to execute.
 class DispatchLookupCommand
          This command combines elements of the LookupCommand with the DispatchCommand.
 class LookupCommand
          Look up a specified Command (which could also be a Chain) in a Catalog, and delegate execution to it.
 class RemoveCommand
          Remove any context attribute stored under the fromKey.
 

Methods in org.apache.commons.chain.generic that return Command
protected  Command LookupCommand.getCommand(Context context)
          Return the Command instance to be delegated to.
 

Uses of Command in org.apache.commons.chain.impl
 

Classes in org.apache.commons.chain.impl that implement Command
 class ChainBase
          Convenience base class for Chain implementations.
 

Fields in org.apache.commons.chain.impl declared as Command
protected  Command[] ChainBase.commands
          The list of Commands configured for this Chain, in the order in which they may delegate processing to the remainder of the Chain.
 

Methods in org.apache.commons.chain.impl that return Command
 Command CatalogBase.getCommand(String name)
          Return the Command associated with the specified name, if any; otherwise, return null.
 

Methods in org.apache.commons.chain.impl with parameters of type Command
 void ChainBase.addCommand(Command command)
          See the Chain JavaDoc.
 void CatalogBase.addCommand(String name, Command command)
          Add a new name and associated Command to the set of named commands known to this Catalog, replacing any previous command for that name.
 

Constructors in org.apache.commons.chain.impl with parameters of type Command
ChainBase(Command command)
          Construct a Chain configured with the specified Command.
ChainBase(Command[] commands)
          Construct a Chain configured with the specified Commands.
 

Uses of Command in org.apache.commons.chain.web
 

Classes in org.apache.commons.chain.web that implement Command
 class AbstractGetLocaleCommand
          Abstract base Command implementation for retrieving the requested Locale from our Context, and storing it under the context attribute key returned by the localeKey property.
 class AbstractSetLocaleCommand
          Abstract base Command implementation for setting the response locale for this response to the Locale stored under the context attribute key returned by the localeKey property.
 

Uses of Command in org.apache.commons.chain.web.faces
 

Classes in org.apache.commons.chain.web.faces that implement Command
 class FacesGetLocaleCommand
          Concrete implementation of AbstractGetLocaleCommand for the JavaServer Faces API.
 class FacesSetLocaleCommand
          Concrete implementation of AbstractSetLocaleCommand for the JavaServer Faces API.
 

Uses of Command in org.apache.commons.chain.web.portlet
 

Classes in org.apache.commons.chain.web.portlet that implement Command
 class PortletGetLocaleCommand
          Concrete implementation of AbstractGetLocaleCommand for the Portlet API.
 class PortletSetLocaleCommand
          Concrete implementation of AbstractSetLocaleCommand for the Portlet API.
 

Uses of Command in org.apache.commons.chain.web.servlet
 

Classes in org.apache.commons.chain.web.servlet that implement Command
 class PathInfoMapper
          Command that uses the "path info" component of the request URI to select a Command from the appropriate Catalog, and execute it.
 class RequestParameterMapper
          Command that uses a specified request parameter to select a Command from the appropriate Catalog, and execute it.
 class ServletGetLocaleCommand
          Concrete implementation of AbstractGetLocaleCommand for the Servlet API.
 class ServletPathMapper
          Command that uses the "servlet path" component of the request URI to select a Command from the appropriate Catalog, and execute it.
 class ServletSetLocaleCommand
          Concrete implementation of AbstractSetLocaleCommand for the Servlet API.
 



Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.