| java.lang.Object org.apache.commons.chain.web.ChainResources
ChainResources | final class ChainResources (Code) | | Utility methods for loading class loader and web application resources
to configure a
Catalog . These methods are shared between
ChainListener and ChainServlet .
author: Craig R. McClanahan author: Ted Husted |
getResourcePaths | static String[] getResourcePaths(String resources)(Code) | | 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.)
Parameters: resources - A comma-delimited list of resource paths (ornull ). An array of non-empty paths. The array itself may be empty. since: Chain 1.1 |
parseClassResources | static void parseClassResources(String resources, ConfigParser parser)(Code) | | Parse the specified class loader resources.
Parameters: resources - Comma-delimited list of resources (or null ) Parameters: parser - ConfigParser to use for parsing |
parseClassResources | static void parseClassResources(Catalog catalog, String resources, ConfigParser parser)(Code) | | Parse the specified class loader resources.
Parameters: catalog - Catalog we are populating Parameters: resources - Comma-delimited list of resources (or null ) Parameters: parser - ConfigParser to use for parsing |
parseWebResources | static void parseWebResources(ServletContext context, String resources, ConfigParser parser)(Code) | | Parse the specified web application resources.
Parameters: context - ServletContext for this web application Parameters: resources - Comma-delimited list of resources (or null ) Parameters: parser - ConfigParser to use for parsing |
parseWebResources | static void parseWebResources(Catalog catalog, ServletContext context, String resources, ConfigParser parser)(Code) | | Parse the specified web application resources.
Parameters: catalog - Catalog we are populating Parameters: context - ServletContext for this web application Parameters: resources - Comma-delimited list of resources (or null ) Parameters: parser - ConfigParser to use for parsing |
|
|