|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.chain.web.ChainResources
final class ChainResources
Utility methods for loading class loader and web application resources
to configure a Catalog. These methods are shared between
ChainListener and ChainServlet.
| Constructor Summary | |
|---|---|
ChainResources()
|
|
| Method Summary | |
|---|---|
(package private) static java.lang.String[] |
getResourcePaths(java.lang.String resources)
Parse the resource string into an array of paths. |
(package private) static void |
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) |
(package private) static void |
parseClassResources(java.lang.String resources,
ConfigParser parser)
Parse the specified class loader resources. |
(package private) static void |
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) |
(package private) static void |
parseWebResources(javax.servlet.ServletContext context,
java.lang.String resources,
ConfigParser parser)
Parse the specified web application resources. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
ChainResources()
| Method Detail |
|---|
static void parseClassResources(java.lang.String resources,
ConfigParser parser)
Parse the specified class loader resources.
resources - Comma-delimited list of resources (or null)parser - ConfigParser to use for parsing
static void parseClassResources(Catalog catalog,
java.lang.String resources,
ConfigParser parser)
Parse the specified class loader resources.
catalog - Catalog we are populatingresources - Comma-delimited list of resources (or null)parser - ConfigParser to use for parsing
static void parseWebResources(javax.servlet.ServletContext context,
java.lang.String resources,
ConfigParser parser)
Parse the specified web application resources.
context - ServletContext for this web applicationresources - Comma-delimited list of resources (or null)parser - ConfigParser to use for parsing
static void parseWebResources(Catalog catalog,
javax.servlet.ServletContext context,
java.lang.String resources,
ConfigParser parser)
Parse the specified web application resources.
catalog - Catalog we are populatingcontext - ServletContext for this web applicationresources - Comma-delimited list of resources (or null)parser - ConfigParser to use for parsingstatic java.lang.String[] getResourcePaths(java.lang.String resources)
Parse the resource string into an array of paths. Empty entries will be skipped. (That is, all entries in the array are non-empty paths.)
resources - A comma-delimited list of resource paths (or
null).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||