|
||||||||||
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 Command
s 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).
Map
of application scope
attributes.
Map
of application scope
attributes.
Catalog
is stored.
Catalog
with the name specified by
the nameAttribute
attribute, or the default Catalog
if there is no such attribute defined.
Command
if appropriate.
Catalog
is a collection of named Command
s (or
Chain
s) that can be used retrieve the set of commands that
should be performed based on a symbolic identifier.Catalog
for this {@link CatalogFactory).
Catalog
to use for processing incoming requests.
Catalog
to retrieve from the
CatalogFactory
for this application, or null
to select the default Catalog
.
Catalog
being used to subordinate Command
s.
Catalog
,
provided as a convenience only.
Catalog
.Map
.
Catalog
class to use for
instantiating new instances.
CatalogFactory
is a class used to store and retrieve
Catalog
s.CatalogFactory
.CatalogFactoryBase
.
Catalog
s, keyed by catalog name.
Chain
represents a configured list of
Command
s that will be executed in order to perform processing
on a specified Context
.Chain
implementations.Chain
with no configured Command
s.
Chain
configured with the specified
Command
.
Chain
configured with the specified
Command
s.
Chain
configured with the specified
Command
s.
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
.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.
Command
to be executed for each incoming
request.
Command
s, keyed by name.
Command
s 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
to be registered with the
CatalogFactory
instance for our application.Catalog
.Command
to be registered with the next-to-top
element on the Digester stack (if it is a Catalog
or Chain
).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
.FacesContext
instance for the request represented
by this WebContext
.
PortletContext
for this web application.
ServletContext
for this web application.
Context
implementations.Context
by copying the
values from the specified Map
.
Set
that implements the
semantics required for the value returned by entrySet()
.Iterator
for the
Set
returned by entrySet()
.Map.Entry
for each item in
EntrySetImpl
.Collection
that implements the
semantics required for the value returned by values()
.Iterator
for the
Collection
returned by values()
.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
.
Map
of cookies.
fromKey
(if any), to the toKey
.Context
as their only argument.
Context
as their only argument.
getCommand(String)
method should
use this as the delimiter between the "catalog" name and the "command"
name.
PropertyDescriptor
s for all JavaBeans properties
of this Context
implementation class, keyed by property name.
Digester
to be used for parsing.
LookupCommand
with the
DispatchCommand
.catalogFactory
property.
catalogFactory
property
to given factory
.
pd
.
Iterator
over the set of Map.Entry
objects representing our key-value pairs.
Map.Entry
for the specified key value, if it
is present; otherwise, return null
.
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.
Command
to be executed.
Command
to be executed.
Command
to be executed.
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.
CatalogFactory
instances,
keyed by the relevant class loader.
CatalogFactory
for this application.
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
.
null
.
null
.
Catalog
implementation class.
CatalogFactory
from which lookups will be performed.
Catalog
has been
stored.
Catalog
has been
stored.
Catalog
has been
stored.
Catalog
to be searched, or
null
to search the default Catalog
.
Chain
implementation class.
ClassLoader
to use as a Map key
for this request.
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
s for this
Chain
.
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
Catalog
s known to this CatalogFactory
.
Iterator
over the set of named commands
known to this Catalog
.
Iterator
over the set of named
Catalog
s 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).
Command
to be executed.
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.
Map
of header name-value
combinations (immutable).
Map
of header name-value
combinations (immutable).
Map
of header name-values
combinations (immutable).
Map
of header name-values
combinations (immutable).
Catalog
from the
servlet init parameters that have been specified.
Map
so that
it contains keys corresponding to all of the JavaBeans properties of
the Context
implementation class.
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
of context initialization
parameters.
Map
of context initialization
parameters.
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
.
Locale
.
Locale
.
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.Map
of request
parameter name-value.
Map
of request
parameter name-value.
Map
of request
parameter name-values.
Map
of request
parameter name-values.
RuleSet
, registering catalogs with nested chains and
commands as they are encountered.
/WEB-INF/lib
subdirectory (if any).
Command
that uses the "path info" component of the request URI
to select a Command
from the appropriate Catalog
, and
execute it.PropertyDescriptor
s as an array.
Map
for portlet context
attributes.AbstractGetLocaleCommand
for
the Portlet API.Map
for portlet context
init parameters.Map
for portlet parameter
name-value.Map
for portlet parameter
name-values[].Map
for portlet request
attributes.Map
for portlet session
attributes.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.
true
.
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.Map
of request scope
attributes.
Map
of request scope
attributes.
PortletResponse
for this request.
HttpServletResponse
for this request.
RuleSet
implementation
for configuring our ConfigParser
.
RuleSet
implementation
for configuring our ConfigParser
.
RuleSet
to be used for configuring our Digester
parsing rules.
ServletWebContext
for the current request, and
pass it to the execute()
method of the specified
Command
, loaded from our configured Catalog
.
Map
for servlet context
attributes.Map
for servlet cookiesAbstractGetLocaleCommand
for
the Servlet API.Map
for servlet request
name-value.Map
for servlet request
name-values[].Map
for servlet context
init parameters.Map
for servlet parameter
name-value.Map
for servlet parameter
name-values[].Command
that uses the "servlet path" component of the request URI
to select a Command
from the appropriate Catalog
, and
execute it.Map
for servlet request
attributes.Map
for HTTP session
attributes.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.
Map
of session scope
attributes.
Map
of session scope
attributes.
Catalog
implementation class.
CatalogFactory
from which lookups will be
performed.
Catalog
has been
stored.
Catalog
has been
stored.
Catalog
has been
stored.
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.
&pct;20
to avoid problems
with paths that contain spaces on some JVMs.
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
.
Iterator
over the set of values in this
Map
.
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 |