Uses of Interface
org.apache.commons.chain.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
Modifier and TypeInterfaceDescriptioninterface
interface
Modifier 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
Modifier 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
.Modifier and TypeMethodDescriptionLookupCommand.getCommand
(C context) Return theCommand
instance to be delegated to. -
Uses of Command in org.apache.commons.chain.impl
Modifier 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
.ModifierConstructorDescription -
Uses of Command in org.apache.commons.chain.web.jakarta
Modifier 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
Modifier 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
Modifier 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
Modifier 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
Modifier 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
Modifier 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
Modifier and TypeClassDescriptionclass
class
class
Concrete implementation ofGetLocaleCommand
for the Servlet API.class
class
Concrete implementation ofSetLocaleCommand
for the Servlet API.