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.config |
Optional package for configuring command chains in a catalog
(using Digester) from an XML configuration file.
|
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.servlet |
Specialized
Context and Command implementations
suitable for use in a Servlet API environment. |
Modifier and Type | Method and Description |
---|---|
abstract Catalog |
CatalogFactory.getCatalog()
Gets the default instance of Catalog associated with the factory
(if any); otherwise, return
null . |
abstract Catalog |
CatalogFactory.getCatalog(java.lang.String name)
Retrieves a Catalog instance by name (if any); otherwise
return
null . |
Modifier and Type | Method and Description |
---|---|
abstract void |
CatalogFactory.addCatalog(java.lang.String name,
Catalog catalog)
Adds a named instance of Catalog to the factory (for subsequent
retrieval later).
|
abstract void |
CatalogFactory.setCatalog(Catalog catalog)
Sets the default instance of Catalog associated with the factory.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigParser.parse(Catalog catalog,
java.net.URL url)
Deprecated.
Use parse(URL) on a configuration resource with "factory"
element(s) embedded
|
Modifier and Type | Method and Description |
---|---|
protected Catalog |
LookupCommand.getCatalog(Context context)
|
Modifier and Type | Class and Description |
---|---|
class |
CatalogBase
Simple in-memory implementation of
Catalog . |
Modifier and Type | Field and Description |
---|---|
private Catalog |
CatalogFactoryBase.catalog
The default
Catalog for this CatalogFactory . |
Modifier and Type | Method and Description |
---|---|
Catalog |
CatalogFactoryBase.getCatalog()
Gets the default instance of Catalog associated with the factory
(if any); otherwise, return
null . |
Catalog |
CatalogFactoryBase.getCatalog(java.lang.String name)
Retrieves a Catalog instance by name (if any); otherwise
return
null . |
Modifier and Type | Method and Description |
---|---|
void |
CatalogFactoryBase.addCatalog(java.lang.String name,
Catalog catalog)
Adds a named instance of Catalog to the factory (for subsequent
retrieval later).
|
void |
CatalogFactoryBase.setCatalog(Catalog catalog)
Sets the default instance of Catalog associated with the factory.
|
Modifier and Type | Method and Description |
---|---|
(package private) static void |
ChainResources.parseClassResources(Catalog catalog,
java.lang.String resources,
ConfigParser parser)
Deprecated.
Use the variant that does not take a catalog, on a
configuration resource containing "catalog" element(s)
|
private void |
ChainListener.parseJarResources(Catalog catalog,
javax.servlet.ServletContext context,
ConfigParser parser,
org.apache.commons.logging.Log log)
Deprecated.
Use the variant that does not take a catalog, on a
configuration resource containing "catalog" element(s)
|
(package private) static void |
ChainResources.parseWebResources(Catalog catalog,
javax.servlet.ServletContext context,
java.lang.String resources,
ConfigParser parser)
Deprecated.
Use the variant that does not take a catalog, on a
configuration resource containing "catalog" element(s)
|
Modifier and Type | Method and Description |
---|---|
protected Catalog |
ServletPathMapper.getCatalog(Context context)
|
protected Catalog |
RequestParameterMapper.getCatalog(Context context)
|
protected Catalog |
PathInfoMapper.getCatalog(Context context)
|