Return-Path: X-Original-To: apmail-ofbiz-user-archive@www.apache.org Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8694F51D for ; Thu, 21 Mar 2013 07:08:08 +0000 (UTC) Received: (qmail 77238 invoked by uid 500); 21 Mar 2013 07:08:08 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 76921 invoked by uid 500); 21 Mar 2013 07:08:05 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 76880 invoked by uid 99); 21 Mar 2013 07:08:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 07:08:04 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of deepak.agarwal@paxcel.net does not designate 74.125.83.54 as permitted sender) Received: from [74.125.83.54] (HELO mail-ee0-f54.google.com) (74.125.83.54) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 07:07:57 +0000 Received: by mail-ee0-f54.google.com with SMTP id c41so1607537eek.41 for ; Thu, 21 Mar 2013 00:07:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=iUOZCVftEZ2dM4ssyNQTE/prkxcHMagMqDG6Aiy3Cb4=; b=Vn4ppjQbLWXmEAQsXU88+Rr4Y2LE+TktJ4gA5IgEhlqVKJQLovRSbo9UdakkaP+hCX nryRrEYMl1F+alOcJiETbdWCD+YqvEbqXT6HwjCYA5JwDwMJQUbQUonporJrNBKUZwJi SR76j5y4n9/LLwA6p32fKY4LOsSA8QwcAq2C0JdaH8A8Llql7YMIPszhTSRl9RcyB38R V/rmtVfKJ1pUOUfvAvarjqlxMe7FscfJKxxb8ht7DVVPByIq6orqdNmI4ztUTsyYz1Jt PV90Th40lY4/0LRZ3qoquNwDOtYMGvIPbUvgZjBqXnQ/AhJm370Vi1Y5t2NEWijq7rFx SRgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type:x-gm-message-state; bh=iUOZCVftEZ2dM4ssyNQTE/prkxcHMagMqDG6Aiy3Cb4=; b=aqZ2L4/u/wrYae3dMzqFdC3dgtjfDT+mm6oRvUsivv9UjzEc/akNprvZb9DFd75edP FM10JA2L9Qd8l3Zh62Rg345cmWyDsSKQJ84aRGcuKijCBSPDBtglRRrKi+WHP6P/A7Bf XLPwvTYfxxu4Nl6W0+AiRM6YTSz37ejAoFvp8JLgQeD5LtM1mvdV2EUCbqeUhB9Vv5nT FRskd5tmTA4/aIdAkmNfzXyaj+4krde1jywH20yRnYXWnZUYz/MtYTHnYT+3DEt4iBmp NqV9qT738fSfDN/P+yibwhNpgnnLtDPltaXozZFqbQZqN5UIl+6IRK5tv845VDE79e5t lpcw== X-Received: by 10.14.175.129 with SMTP id z1mr24433880eel.7.1363849656953; Thu, 21 Mar 2013 00:07:36 -0700 (PDT) MIME-Version: 1.0 Sender: deepak.agarwal@paxcel.net Received: by 10.14.216.130 with HTTP; Thu, 21 Mar 2013 00:07:16 -0700 (PDT) From: Deepak Agarwal Date: Thu, 21 Mar 2013 12:37:16 +0530 X-Google-Sender-Auth: Mal2jtz55nnEDh8EtVvg9ZUiEMk Message-ID: Subject: How to extend a service with a base method defined in parent service To: user@ofbiz.apache.org Content-Type: multipart/alternative; boundary=047d7b6041ca54a1a304d869fe74 X-Gm-Message-State: ALoCoQlayAZSNAEUeHzHs1Wh1kiD/fFlbKk7F7rUukCHvVXkEw7kLVtLL4cg/O9FdZmR0YZ0ag+0 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6041ca54a1a304d869fe74 Content-Type: text/plain; charset=ISO-8859-1 Hello, I have a requirement where I want to keep common 'operations' (not attributes) in one service and then want to extend it with several services. Here, I want that while running child services base service method gets run first (just in a normal polymorphism concept). Is it possible to define these services in services.xml OOTB ? In my knowledge so far services defined in the services.xml can inherit/override the attributes but the following doesn't work Or, probably only 'implements' is supported and hence only interfaces can be implemented and no support for extending services. -- Thanks, Deepak Agarwal, Mobile: +91 9501190044 --047d7b6041ca54a1a304d869fe74--