Uses of Interface
org.apache.commons.chain.Command
Packages that use Command
Package
Description
The fundamental API contracts for the Chain of Responsibilty Pattern as
implemented in this package.
Concrete implementations of generic Commands that are useful in many
different environments, not tied to a particular tier such as Servlets).
Convenient base implementations of Chain of Responsibility Pattern
contracts from
org.apache.commons.chain
.Basis for specialized
Context
implementations suitable for use
in web applications, and generic Command
implementations useful
across web application environments.Specialized
Context
and Command
implementations
suitable for use in a Portlet API environment.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.chainModifier and TypeInterfaceDescriptioninterface
interface
Methods in org.apache.commons.chain that return CommandModifier and TypeMethodDescriptionCatalog.getCommand
(String name) CatalogFactory.getCommand
(String commandID) Return aCommand
based on the given commandID.Methods in org.apache.commons.chain with parameters of type CommandModifier and TypeMethodDescriptionvoid
Catalog.addCommand
(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 CommandModifier and TypeClassDescriptionclass
Copy a specified literal value, or a context attribute stored under thefromKey
(if any), to thetoKey
.class
An abstract base command which uses introspection to look up a method to execute.class
This command combines elements of theLookupCommand
with theDispatchCommand
.class
class
Remove any context attribute stored under thefromKey
.Methods in org.apache.commons.chain.generic that return CommandModifier and TypeMethodDescriptionprotected Command
LookupCommand.getCommand
(Context context) Return theCommand
instance to be delegated to.Methods in org.apache.commons.chain.generic with parameters of type CommandModifier and TypeMethodDescriptionprivate 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 CommandFields in org.apache.commons.chain.impl declared as CommandMethods in org.apache.commons.chain.impl that return CommandModifier and TypeMethodDescriptionCatalogBase.getCommand
(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 CommandModifier and TypeMethodDescriptionvoid
CatalogBase.addCommand
(String name, Command command) void
ChainBase.addCommand
(Command command) See theChain
JavaDoc.Constructors in org.apache.commons.chain.impl with parameters of type Command -
Uses of Command in org.apache.commons.chain.web
Classes in org.apache.commons.chain.web that implement CommandModifier and TypeClassDescriptionclass
class
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 CommandModifier and TypeClassDescriptionclass
Concrete implementation ofAbstractGetLocaleCommand
for the Portlet API.class
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 CommandModifier and TypeClassDescriptionclass
class
class
Concrete implementation ofAbstractGetLocaleCommand
for the Servlet API.class
class
Concrete implementation ofAbstractSetLocaleCommand
for the Servlet API.