/** * Get the default resource configuration if one is not declared in the * web.xml. * <p> * This implementation returns an instance of {@link WebAppResourceConfig} * that scans in files and directories as declared by the * {@link ClasspathResourceConfig#PROPERTY_CLASSPATH} if present, otherwise * in the "WEB-INF/lib" and "WEB-INF/classes" directories. * <p> * An inheriting class may override this method to supply a different * default resource configuration implementation. * * @param props the properties to pass to the resource configuration. * @param wc the web configuration. * @return the default resource configuration. * * @throws javax.servlet.ServletException in case there was an error while retrieving the default resource config */ protected ResourceConfig getDefaultResourceConfig(Map<String, Object> props, WebConfig wc) throws ServletException { return webComponent.getWebAppResourceConfig(props, wc); }
/** * Get the default resource configuration if one is not declared in the * web.xml. * <p/> * This implementation returns an instance of {@link WebAppResourceConfig} * that scans in files and directories as declared by the * {@link ClasspathResourceConfig#PROPERTY_CLASSPATH} if present, otherwise * in the "WEB-INF/lib" and "WEB-INF/classes" directories. * <p/> * An inheriting class may override this method to supply a different * default resource configuration implementation. * * @param props the properties to pass to the resource configuration. * @param wc the web configuration. * @return the default resource configuration. * @throws javax.servlet.ServletException in case of any issues with providing \ * the default resource configuration */ protected ResourceConfig getDefaultResourceConfig(Map<String, Object> props, WebConfig wc) throws ServletException { return getWebAppResourceConfig(props, wc); }
/** * Get the default resource configuration if one is not declared in the * web.xml. * <p/> * This implementation returns an instance of {@link WebAppResourceConfig} * that scans in files and directories as declared by the * {@link ClasspathResourceConfig#PROPERTY_CLASSPATH} if present, otherwise * in the "WEB-INF/lib" and "WEB-INF/classes" directories. * <p/> * An inheriting class may override this method to supply a different * default resource configuration implementation. * * @param props the properties to pass to the resource configuration. * @param wc the web configuration. * @return the default resource configuration. * @throws javax.servlet.ServletException in case of any issues with providing \ * the default resource configuration */ protected ResourceConfig getDefaultResourceConfig(Map<String, Object> props, WebConfig wc) throws ServletException { return getWebAppResourceConfig(props, wc); }
/** * Get the default resource configuration if one is not declared in the * web.xml. * <p> * This implementation returns an instance of {@link WebAppResourceConfig} * that scans in files and directories as declared by the * {@link ClasspathResourceConfig#PROPERTY_CLASSPATH} if present, otherwise * in the "WEB-INF/lib" and "WEB-INF/classes" directories. * <p> * An inheriting class may override this method to supply a different * default resource configuration implementation. * * @param props the properties to pass to the resource configuration. * @param wc the web configuration. * @return the default resource configuration. * * @throws javax.servlet.ServletException in case there was an error while retrieving the default resource config */ protected ResourceConfig getDefaultResourceConfig(Map<String, Object> props, WebConfig wc) throws ServletException { return webComponent.getWebAppResourceConfig(props, wc); }
/** * Get the default resource configuration if one is not declared in the * web.xml. * <p/> * This implementation returns an instance of {@link WebAppResourceConfig} * that scans in files and directories as declared by the * {@link ClasspathResourceConfig#PROPERTY_CLASSPATH} if present, otherwise * in the "WEB-INF/lib" and "WEB-INF/classes" directories. * <p/> * An inheriting class may override this method to supply a different * default resource configuration implementation. * * @param props the properties to pass to the resource configuration. * @param wc the web configuration. * @return the default resource configuration. * @throws javax.servlet.ServletException in case of any issues with providing \ * the default resource configuration */ protected ResourceConfig getDefaultResourceConfig(Map<String, Object> props, WebConfig wc) throws ServletException { return getWebAppResourceConfig(props, wc); }
/** * Get the default resource configuration if one is not declared in the * web.xml. * <p> * This implementation returns an instance of {@link WebAppResourceConfig} * that scans in files and directories as declared by the * {@link ClasspathResourceConfig#PROPERTY_CLASSPATH} if present, otherwise * in the "WEB-INF/lib" and "WEB-INF/classes" directories. * <p> * An inheriting class may override this method to supply a different * default resource configuration implementation. * * @param props the properties to pass to the resource configuration. * @param wc the web configuration. * @return the default resource configuration. * * @throws javax.servlet.ServletException in case there was an error while retrieving the default resource config */ protected ResourceConfig getDefaultResourceConfig(Map<String, Object> props, WebConfig wc) throws ServletException { return webComponent.getWebAppResourceConfig(props, wc); }