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 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. |
Modifier and Type | Interface and Description |
---|---|
interface |
Chain
|
interface |
Filter
|
Modifier and Type | Method and Description |
---|---|
Command |
CatalogFactory.getCommand(String commandID)
Return a
Command based on the given commandID. |
Command |
Catalog.getCommand(String name)
|
Modifier and Type | Method and Description |
---|---|
void |
Chain.addCommand(Command command)
|
void |
Catalog.addCommand(String name,
Command command)
|
Modifier and Type | Class and Description |
---|---|
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
|
class |
RemoveCommand
Remove any context attribute stored under the
fromKey . |
Modifier and Type | Method and Description |
---|---|
protected Command |
LookupCommand.getCommand(Context context)
Return the
Command instance to be delegated to. |
Modifier and Type | Class and Description |
---|---|
class |
ChainBase
Convenience base class for
Chain implementations. |
Modifier and Type | Field and Description |
---|---|
protected Command[] |
ChainBase.commands
|
Modifier and Type | Method and Description |
---|---|
Command |
CatalogBase.getCommand(String name)
Return the
Command associated with the
specified name, if any; otherwise, return null . |
Modifier and Type | Method and Description |
---|---|
void |
ChainBase.addCommand(Command command)
See the
Chain JavaDoc. |
void |
CatalogBase.addCommand(String name,
Command command)
|
Constructor and Description |
---|
ChainBase(Command command)
|
ChainBase(Command[] commands)
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractGetLocaleCommand
|
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. |
Modifier and Type | Class and Description |
---|---|
class |
FacesGetLocaleCommand
Concrete implementation of
AbstractGetLocaleCommand for
the JavaServer Faces API. |
class |
FacesSetLocaleCommand
Concrete implementation of
AbstractSetLocaleCommand for
the JavaServer Faces API. |
Modifier and Type | Class and Description |
---|---|
class |
PortletGetLocaleCommand
Concrete implementation of
AbstractGetLocaleCommand for
the Portlet API. |
class |
PortletSetLocaleCommand
Concrete implementation of
AbstractSetLocaleCommand for
the Portlet API. |
Modifier and Type | Class and Description |
---|---|
class |
PathInfoMapper
|
class |
RequestParameterMapper
|
class |
ServletGetLocaleCommand
Concrete implementation of
AbstractGetLocaleCommand for
the Servlet API. |
class |
ServletPathMapper
|
class |
ServletSetLocaleCommand
Concrete implementation of
AbstractSetLocaleCommand for
the Servlet API. |
Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.