/* * Copyright(c) 2005 Center for E-Commerce Infrastructure Development, The * University of Hong Kong (HKU). All Rights Reserved. * * This software is licensed under the Academic Free License Version 1.0 */ package hk.hku.cecid.piazza.corvus.admin.handler; import hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcherContext; import hk.hku.cecid.piazza.commons.spa.Extension; import hk.hku.cecid.piazza.corvus.core.main.handler.HttpdRequestListenerRegistrar; /** * AdminRequestListenerRegistrar handles the registration of an HTTP request * listener with the admin dispatcher context. * * @author Hugo Y. K. Lam * */ public class AdminRequestListenerRegistrar extends HttpdRequestListenerRegistrar { /** * Gets the admin dispatcher context. * * @see hk.hku.cecid.piazza.corvus.core.main.handler.HttpdContextRegistrar#getHttpdContext(hk.hku.cecid.piazza.commons.spa.Extension) */ protected HttpDispatcherContext getHttpdContext(Extension extension) { return HttpDispatcherContext.getContext(AdminPluginHandler.ADMIN_CONTEXT_ID); } }