Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 55759 invoked from network); 6 Jun 2009 18:40:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jun 2009 18:40:35 -0000 Received: (qmail 54488 invoked by uid 500); 6 Jun 2009 18:34:07 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 53774 invoked by uid 500); 6 Jun 2009 18:34:05 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 53633 invoked by uid 99); 6 Jun 2009 18:34:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jun 2009 18:34:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dariusz.luksza@gmail.com designates 209.85.221.187 as permitted sender) Received: from [209.85.221.187] (HELO mail-qy0-f187.google.com) (209.85.221.187) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jun 2009 18:33:52 +0000 Received: by qyk17 with SMTP id 17so3162476qyk.18 for ; Sat, 06 Jun 2009 11:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=SHeg/KsPLyaVaylB/AU0MLzg/UcJgNPc03DrotznJ3c=; b=ji0XiK5bjdilrdkv+yVwU7JxE2OjIuYj2X4Xsycz4ww6fdJNC1HHDmsLHwZo8C/SzG 5n5GSfk+oZ/a9dTzIR7FFCA7M+YGzSjV48oDWFa3+CtHBdw8d07x/i4wlVBxXM3TwzuL MwQWblumujI13N5VoBS4C2ZmvYngdLdTDrs10= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=xEMjfR3VFCYKZu62XRoRDkG6REQLfrajTWZ7zyhbFkRKk6n+qzhcuYKocGGij7UB0u eRryD4LavTKGQl8KEX0VZ/qyGzW95vL1bwMg1Oyj8TeNn6gRqf/8TKVx2el5HCRViqw6 7TGLeEcqslTnrmJMm4HU87KReRWZCbnXaFC/g= MIME-Version: 1.0 Received: by 10.220.91.138 with SMTP id n10mr2977184vcm.76.1244313210123; Sat, 06 Jun 2009 11:33:30 -0700 (PDT) In-Reply-To: <4A23A54A.7000203@apache.org> References: <4A23A54A.7000203@apache.org> From: =?UTF-8?Q?Dariusz_=C5=81uksza?= Date: Sat, 6 Jun 2009 20:33:10 +0200 Message-ID: Subject: Re: [c3-monitoring] Overview of Servlet-Services To: dev@cocoon.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Jun 1, 2009 at 11:54 AM, Reinhard P=C3=B6tz wr= ote: > > You should be able to collect all Servlet-Services by using the Spring > Configurator's bean-map: > http://cocoon.apache.org/subprojects/configuration/1.0/spring-configurato= r/1.0/1400_1_1.html > It is exactly what I was looking for, thanks :) > >> The main idea is to have separate configuration for monitoring beans >> that don't interfere in other parts of Cocoon 3. That "magic >> configuration" should made new instance of ServiceServletMonitoring >> MBean for each initialized Service-Servlet. > > yes, I agree > >> Have you Any ideas how to achieve that ? > > Every servlet-service implements the javax.servlet.Servlet interface. > You can create a bean-map that filters by that type. > Whole week I try to get somehow list of available Service-Servlets and mount points for them. For now I think that there aren't any possibility of getting that information using existing API. IMHO simplest way of getting list of avialiable Servlet-Services would be parse sitemap.xmap but I don't know how to distiguish with pipeline use s-s and with isn't. It would be werry nice if somebody could gave me some hits how move on with this ;) --=20 Best regards Blog: http://luksza.org LinkedIn: http://www.linkedin.com/in/dariuszluksza