|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Command implementation for retrieving the
requested Locale from our Context, and storing it under the
context attribute key returned by the localeKey property.Command implementation for setting the
response locale for this response to the Locale stored
under the context attribute key returned by the localeKey
property.Command or Chain
to the set of named commands known to this Catalog,
replacing any previous command for that name.
Command to the list of Commands that will
be called in turn when this Chain's execute()
method is called.
Command
to the set of named commands known to this Catalog,
replacing any previous command for that name.
Chain JavaDoc.
Digester instance, associating them with
our namespace URI (if any).
Catalog is a collection of named Commands (or
Chains) that can be used to retrieve the set of commands that
should be performed based on a symbolic identifier.Catalog to use for processing incoming requests.
Catalog being used to subordinate Commands.
Catalog,
provided as a convenience only.
Catalog.Map.
CatalogFactory is a class used to store and retrieve
Catalogs.CatalogFactory.CatalogFactoryBase.
Chain represents a configured list of
Commands that will be executed in order to perform processing
on a specified Context.Chain implementations.Chain with no configured Commands.
Chain configured with the specified
Command.
Chain configured with the specified
Commands.
Chain configured with the specified
Commands.
ServletContextListener that automatically
scans chain configuration files in the current web application at
startup time, and exposes the result in a Catalog under a
specified servlet context attribute.ChainServlet that also dispatches incoming
requests to a configurable Command loaded from the specified
Catalog.Servlet that automatically scans chain configuration files
in the current web application at startup time, and exposes the result in a
Catalog under a specified servlet context attribute.Map behavior to clear all keys and
values except those corresponding to JavaBeans properties.
Command encapsulates a unit of processing work to be
performed, whose purpose is to examine and/or modify the state of a
transaction that is represented by a Context.Command (loaded from our configured Catalog to use
for processing each incoming request.
Commands, keyed by name.
Commands configured for this Chain, in
the order in which they may delegate processing to the remainder of
the Chain.
Catalog
will be stored.
Catalog
will be stored.
Catalog.RuleSet for configuring Chain of
Responsibility command chains, and adding them to an appropriate
Catalog.Map behavior to return
true if the specified value is present in either the
underlying Map or one of the local property values.
Context represents the state information that is
accessed and manipulated by the execution of a Command or a
Chain.PortletContext for this web application.
ServletContext for this web application.
Context implementations.Context by copying the
values from the specified Map.
Catalog from the servlet context
attributes for this web application.
Catalog, and expose it as a
servlet context attribute under the specified key.
CONTINUE_PROCESSING if the processing
of the given Context should be delegated to a subsequent
Command in an enclosing Chain.
fromKey (if any), to the toKey.Context
as their only argument.
getCommand(String) method should
use this as the delimiter between the "catalog" name and the "command"
name.
LookupCommand with the
DispatchCommand.catalogFactory property.
catalogFactory property
to given factory.
Map behavior to return a
Set that meets the specified default behavior except
for attempts to remove the key for a property of the Context
implementation class, which will throw
UnsupportedOperationException.
Chain according
to the following algorithm.
fromKey (if any), to the toKey.
evaluateResult.
Chain JavaDoc.
Locale for this request, and store it
under the specified context attribute.
Locale stored under the specified
context attribute key, and establish it on this response.
AbstractGetLocaleCommand for
the JavaServer Faces API.AbstractSetLocaleCommand for
the JavaServer Faces API.WebContext suitable for use in
JavaServer Faces apps.FacesWebContext instance.
FacesWebContext instance that is initialized
with the specified JavaServer Faces API objects.
Filter is a specialized Command that also expects
the Chain that is executing it to call the
postprocess() method if it called the execute()
method.execute() method.
Map behavior to return the value
of a local property if the specified key matches a local property name.
WebContext's Javadoc.
WebContext's Javadoc.
WebContext's Javadoc.
Map that maps application scope
attribute names to their values.
null.
null.
Catalog to look up the Command in.
null.
null.
Catalog to look up the Command in.
Catalog to look up the Command in.
Catalog to look up the Command in.
Catalog
implementation class.
CatalogFactory from which lookups will be performed.
Catalog has been
stored.
Catalog to be searched, or
null to search the default Catalog.
Chain
implementation class.
Command or Chain associated with the
specified name, if any; otherwise, return null.
Command based on the given commandID.
Command instance to be delegated to.
Command associated with the
specified name, if any; otherwise, return null.
Command instance to be delegated to.
Command to be executed.
Command to be executed.
Command to be executed.
FacesContext instance for the request
associated with this FacesWebContext.
PortletContext for this context.
ServletContext for this context.
WebContext's Javadoc.
WebContext's Javadoc.
Map that maps cookie names to
the set of cookies specified in the request.
Digester instance to be used for
parsing, creating one if necessary.
WebContext's Javadoc.
WebContext's Javadoc.
WebContext's Javadoc.
Map that maps header names to
the first (or only) header value (as a String).
WebContext's Javadoc.
WebContext's Javadoc.
WebContext's Javadoc.
Map that maps header names to
the set of all values specified in the request (as a String array).
WebContext's Javadoc.
WebContext's Javadoc.
WebContext's Javadoc.
Map that maps context application
initialization parameters to their values.
CatalogFactory instance
for the relevant ClassLoader.
Locale for this request.
Locale for this request.
Locale for this request.
Locale for this request.
Locale.
Locale.
Command that we will look up and
delegate execution to.
Command
name is stored.
Iterator over the set of named commands
known to this Catalog.
Iterator over the set of named
Catalogs known to this CatalogFactory.
Iterator over the set of named commands
known to this Catalog.
Iterator over the set of named
Catalogs known to this CatalogFactory.
WebContext's Javadoc.
WebContext's Javadoc.
WebContext's Javadoc.
Map that maps request parameter
names to the first (or only) value (as a String).
WebContext's Javadoc.
WebContext's Javadoc.
WebContext's Javadoc.
Map that maps request parameter
names to the set of all values (as a String array).
PortletRequest for this context.
HttpServletRequest for this context.
WebContext's Javadoc.
WebContext's Javadoc.
WebContext's Javadoc.
Map that maps request scope
attribute names to their values.
PortletResponse for this context.
HttpServletResponse for this context.
RuleSet to be used for configuring
our Digester parsing rules, creating one if necessary.
WebContext's Javadoc.
WebContext's Javadoc.
WebContext's Javadoc.
Map that maps session scope
attribute names to their values.
Class[] describing the expected signature of the method.
Class[] describing the expected signature of
the method.
Catalog from the
servlet init parameters that have been specified.
FacesWebContext instance
for the specified JavaServer Faces API objects.
PortletWebContext instance
for the specified Portlet API objects.
ServletWebContext instance
for the specified Servlet API objects.
Map behavior to return
true if the underlying Map only contains
key-value pairs for local properties (if any).
true if this command should ignore
the return value from executing the looked-up command.
true if this command is a Filter and
should ignore the return value from executing the looked-up Filter's
postprocess() method.
true if locating the specified command
is optional.
Map behavior to return a
Set that meets the specified default behavior except
for attempts to remove the key for a property of the Context
implementation class, which will throw
UnsupportedOperationException.
Command (which could also be a
Chain)
in a Catalog, and delegate execution to it.catalogFactory property to the
value of CatalogFactory.getInstance().
catalogFactory property
to given factory/
org.apache.commons.chain.Context implementations suitable for use
in web applications, and generic Command implementations useful
across web application environments.Context and Command implementations
suitable for use in a JavaServer Faces API environment.Context and Command implementations
suitable for use in a Portlet API environment.Context and Command implementations
suitable for use in a Servlet API environment.RuleSet, registering catalogs with nested chains and
commands as they are encountered.
Command that uses the "path info" component of the request URI
to select a Command from the appropriate Catalog, and
execute it.AbstractGetLocaleCommand for
the Portlet API.AbstractSetLocaleCommand for
the Portlet API.WebContext suitable for use in
portlets.PortletWebContext instance.
PortletWebContext instance that is initialized
with the specified Portlet API objects.
execute() method of this
Filter instance.
Filter, call the
postprocess() method of that Filter as well.
PROCESSING_COMPLETE
if the processing of the given Context
has been completed.
Map behavior to set the value
of a local property if the specified key matches a local property name.
Map behavior to call the
put() method individually for each key-value pair
in the specified Map.
initialize() of via subsequent processing.
initialize() of via subsequent processing.
initialize() of via subsequent processing.
Map behavior to throw
UnsupportedOperationException on any attempt to
remove a key that is the name of a local property.
fromKey.PortletRequest for this request.
HttpServletRequest for this request.
Command that uses a specified request parameter
to select a Command from the appropriate Catalog, and
execute it.PortletResponse for this request.
HttpServletResponse for this request.
RuleSet implementation
for configuring our ConfigParser.
RuleSet implementation
for configuring our ConfigParser.
ServletWebContext for the current request, and
pass it to the execute() method of the specified
Command, loaded from our configured Catalog.
AbstractGetLocaleCommand for
the Servlet API.Command that uses the "servlet path" component of the request URI
to select a Command from the appropriate Catalog, and
execute it.AbstractSetLocaleCommand for
the Servlet API.WebContext suitable for use in
Servlets and JSP pages.ServletWebContext instance.
ServletWebContext instance that is initialized
with the specified Servlet API objects.
Catalog
implementation class.
CatalogFactory from which lookups will be
performed.
Catalog to be searched, or
null to search the default Catalog.
Chain
implementation class.
postprocess() method.
Locale for this response.
Locale for this response.
Locale for this response.
Locale for this response.
Locale.
Locale.
Command that we will look up and
delegate execution to.
Command
name is stored.
Command to be executed.
RuleSet to be used for configuring
our Digester parsing rules.
Map behavior to return a
Collection that meets the specified default behavior except
for attempts to remove the key for a property of the Context
implementation class, which will throw
UnsupportedOperationException.
Context that
provides web based applications that use it a "generic" view of HTTP related
requests and responses, without tying the application to a particular underlying
Java API (such as servlets).
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||