Uses of Interface
org.apache.commons.chain.Command
-
Packages that use Command Package Description 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 fromorg.apache.commons.chain
.org.apache.commons.chain.web Basis for specializedContext
implementations suitable for use in web applications, and genericCommand
implementations useful across web application environments.org.apache.commons.chain.web.portlet SpecializedContext
andCommand
implementations suitable for use in a Portlet API environment.org.apache.commons.chain.web.servlet SpecializedContext
andCommand
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 Modifier and Type Interface Description interface
Chain
interface
Filter
Methods in org.apache.commons.chain that return Command Modifier and Type Method Description Command
Catalog. getCommand(java.lang.String name)
Command
CatalogFactory. getCommand(java.lang.String commandID)
Return aCommand
based on the given commandID.Methods in org.apache.commons.chain with parameters of type Command Modifier and Type Method Description void
Catalog. addCommand(java.lang.String name, Command command)
void
Chain. addCommand(Command command)
-
Uses of Command in org.apache.commons.chain.generic
Classes in org.apache.commons.chain.generic that implement Command Modifier and Type Class Description class
CopyCommand
Copy a specified literal value, or a context attribute stored under thefromKey
(if any), to thetoKey
.class
DispatchCommand
An abstract base command which uses introspection to look up a method to execute.class
DispatchLookupCommand
This command combines elements of theLookupCommand
with theDispatchCommand
.class
LookupCommand
class
RemoveCommand
Remove any context attribute stored under thefromKey
.Methods in org.apache.commons.chain.generic that return Command Modifier and Type Method Description protected Command
LookupCommand. getCommand(Context context)
Return theCommand
instance to be delegated to.Methods in org.apache.commons.chain.generic with parameters of type Command Modifier and Type Method Description private java.lang.reflect.Method
DispatchLookupCommand. extractMethod(Command command, Context context)
Extract the dispatch method. -
Uses of Command in org.apache.commons.chain.impl
Classes in org.apache.commons.chain.impl that implement Command Modifier and Type Class Description class
ChainBase
Convenience base class forChain
implementations.Fields in org.apache.commons.chain.impl declared as Command Modifier and Type Field Description protected Command[]
ChainBase. commands
Methods in org.apache.commons.chain.impl that return Command Modifier and Type Method Description Command
CatalogBase. getCommand(java.lang.String name)
Return theCommand
associated with the specified name, if any; otherwise, returnnull
.(package private) Command[]
ChainBase. getCommands()
Methods in org.apache.commons.chain.impl with parameters of type Command Modifier and Type Method Description void
CatalogBase. addCommand(java.lang.String name, Command command)
void
ChainBase. addCommand(Command command)
See theChain
JavaDoc.Constructors in org.apache.commons.chain.impl with parameters of type Command Constructor Description ChainBase(Command command)
ChainBase(Command[] commands)
-
Uses of Command in org.apache.commons.chain.web
Classes in org.apache.commons.chain.web that implement Command Modifier and Type Class Description class
AbstractGetLocaleCommand
class
AbstractSetLocaleCommand
Abstract baseCommand
implementation for setting the response locale for this response to theLocale
stored under the context attribute key returned by thelocaleKey
property. -
Uses of Command in org.apache.commons.chain.web.portlet
Classes in org.apache.commons.chain.web.portlet that implement Command Modifier and Type Class Description class
PortletGetLocaleCommand
Concrete implementation ofAbstractGetLocaleCommand
for the Portlet API.class
PortletSetLocaleCommand
Concrete implementation ofAbstractSetLocaleCommand
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 Modifier and Type Class Description class
PathInfoMapper
class
RequestParameterMapper
class
ServletGetLocaleCommand
Concrete implementation ofAbstractGetLocaleCommand
for the Servlet API.class
ServletPathMapper
class
ServletSetLocaleCommand
Concrete implementation ofAbstractSetLocaleCommand
for the Servlet API.
-