add another constructor for ServletHolder that was missing from merge, well that I mistakenly removed during the merge

This commit is contained in:
Jesse McConnell 2012-01-26 11:41:56 -06:00
parent 9c7b44d806
commit 1691441296
1 changed files with 10 additions and 0 deletions

View File

@ -113,6 +113,16 @@ public class ServletHolder extends Holder<Servlet> implements UserIdentity.Scope
setHeldClass(servlet);
}
/* ---------------------------------------------------------------- */
/** Constructor for servlet class.
*/
public ServletHolder(String name, Servlet servlet)
{
super (Source.EMBEDDED);
setName(name);
setServlet(servlet);
}
/* ---------------------------------------------------------------- */
/** Constructor for servlet class.
*/