Return-Path: X-Original-To: apmail-ace-commits-archive@www.apache.org Delivered-To: apmail-ace-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0982ADDF6 for ; Wed, 23 Jan 2013 11:08:19 +0000 (UTC) Received: (qmail 40461 invoked by uid 500); 23 Jan 2013 11:08:16 -0000 Delivered-To: apmail-ace-commits-archive@ace.apache.org Received: (qmail 40356 invoked by uid 500); 23 Jan 2013 11:08:14 -0000 Mailing-List: contact commits-help@ace.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ace.apache.org Delivered-To: mailing list commits@ace.apache.org Received: (qmail 40317 invoked by uid 99); 23 Jan 2013 11:08:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2013 11:08:13 +0000 Date: Wed, 23 Jan 2013 11:08:13 +0000 (UTC) From: "Marcel Offermans (JIRA)" To: commits@ace.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (ACE-159) Register servlets under objectClass javax.servlet.Servlet instead of javax.servlet.http.HttpServlet MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACE-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Offermans closed ACE-159. -------------------------------- Resolution: Fixed This issue was finished already, all servlets now register as a Servlet. > Register servlets under objectClass javax.servlet.Servlet instead of javax.servlet.http.HttpServlet > --------------------------------------------------------------------------------------------------- > > Key: ACE-159 > URL: https://issues.apache.org/jira/browse/ACE-159 > Project: ACE > Issue Type: Improvement > Affects Versions: 0.8.0-incubator > Reporter: Bram de Kruijff > Assignee: Marcel Offermans > Attachments: ACE-159-toServlet.patch, ACE-159-toServletWithPropagate.patch > > > ACE registers its servlets whiteboard style under objectClass=javax.servlet.http.HttpServlet. The custom whiteboard implementation HttpListener bridges them to available Http services. > 1) I think strictly speaking this is not spec compliant as HttpServlet is not an interface? > 2) It is unnecessarily specific as HttpService#registerServlet accepts javax.servlet.Servlet > 3) It is not (out of the box) portable to Felix HTTP whiteboard or Amdatu Dispatcher > For these reasons I'd suggest switching to objectClass=javax.servlet.Servlet. Would be happy to work on a small patch if there is some consensus that this is a good idea. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira