Uses of Interface
org.apache.commons.chain.Command
Packages that use Command
Package
Description
The fundamental API contracts for the Chain of Responsibility 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 (JEE9+), and generic Command
implementations
useful across web application environments.Specialized
Context
and Command
implementations
suitable for use in a JakartaServer Faces API environment.Specialized
Context
and Command
implementations
suitable for use in a Jakarta Servlet API environment.Basis for specialized
Context
implementations suitable for use
in web applications (till JEE8), and generic Command
implementations
useful across web application environments.Specialized
Context
and Command
implementations
suitable for use in a JavaServer Faces API environment.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 with type parameters of type CommandModifier and TypeMethodDescriptionCatalog.addCommand
(String name, CMD command) Chain.addCommand
(CMD command) Catalog.getCommand
(String name) CatalogFactory.getCommand
(String commandID) Return aCommand
based on the given commandID. -
Uses of Command in org.apache.commons.chain.generic
Classes in org.apache.commons.chain.generic that implement CommandModifier and TypeClassDescriptionclass
CopyCommand<C extends Context>
Copy a specified literal value, or a context attribute stored under thefromKey
(if any), to thetoKey
.class
DispatchCommand<C extends Context>
An abstract base command which uses introspection to look up a method to execute.class
DispatchLookupCommand<C extends Context>
This command combines elements of theLookupCommand
with theDispatchCommand
.class
LookupCommand<C extends Context>
class
RemoveCommand<C extends Context>
Remove any context attribute stored under thefromKey
.Methods in org.apache.commons.chain.generic that return CommandModifier and TypeMethodDescriptionLookupCommand.getCommand
(C context) Return theCommand
instance to be delegated to. -
Uses of Command in org.apache.commons.chain.impl
Classes in org.apache.commons.chain.impl that implement CommandMethods in org.apache.commons.chain.impl with type parameters of type CommandModifier and TypeMethodDescriptionCatalogBase.addCommand
(String name, CMD command) ChainBase.addCommand
(CMD command) See theChain
JavaDoc.CatalogBase.getCommand
(String name) Return theCommand
associated with the specified name, if any; otherwise, returnnull
.Constructors in org.apache.commons.chain.impl with parameters of type CommandModifierConstructorDescriptionConstructor parameters in org.apache.commons.chain.impl with type arguments of type Command -
Uses of Command in org.apache.commons.chain.web.jakarta
Classes in org.apache.commons.chain.web.jakarta that implement CommandModifier and TypeClassDescriptionclass
GetLocaleCommand<C extends WebContext>
class
SetLocaleCommand<C extends WebContext>
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.jakarta.faces
Classes in org.apache.commons.chain.web.jakarta.faces that implement CommandModifier and TypeClassDescriptionclass
Concrete implementation ofGetLocaleCommand
for the JavaServer Faces API.class
Concrete implementation ofSetLocaleCommand
for the JavaServer Faces API. -
Uses of Command in org.apache.commons.chain.web.jakarta.servlet
Classes in org.apache.commons.chain.web.jakarta.servlet that implement CommandModifier and TypeClassDescriptionclass
class
class
Concrete implementation ofGetLocaleCommand
for the Servlet API.class
class
Concrete implementation ofSetLocaleCommand
for the Servlet API. -
Uses of Command in org.apache.commons.chain.web.javax
Classes in org.apache.commons.chain.web.javax that implement CommandModifier and TypeClassDescriptionclass
GetLocaleCommand<C extends WebContext>
class
SetLocaleCommand<C extends WebContext>
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.javax.faces
Classes in org.apache.commons.chain.web.javax.faces that implement CommandModifier and TypeClassDescriptionclass
Concrete implementation ofGetLocaleCommand
for the JavaServer Faces API.class
Concrete implementation ofSetLocaleCommand
for the JavaServer Faces API. -
Uses of Command in org.apache.commons.chain.web.javax.portlet
Classes in org.apache.commons.chain.web.javax.portlet that implement CommandModifier and TypeClassDescriptionclass
Concrete implementation ofGetLocaleCommand
for the Portlet API.class
Concrete implementation ofSetLocaleCommand
for the Portlet API. -
Uses of Command in org.apache.commons.chain.web.javax.servlet
Classes in org.apache.commons.chain.web.javax.servlet that implement CommandModifier and TypeClassDescriptionclass
class
class
Concrete implementation ofGetLocaleCommand
for the Servlet API.class
class
Concrete implementation ofSetLocaleCommand
for the Servlet API.