Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 32789 invoked from network); 30 Jan 2008 11:44:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jan 2008 11:44:00 -0000 Received: (qmail 47326 invoked by uid 500); 30 Jan 2008 11:43:51 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 47301 invoked by uid 500); 30 Jan 2008 11:43:51 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 47290 invoked by uid 99); 30 Jan 2008 11:43:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2008 03:43:50 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2008 11:43:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 643EE71426E for ; Wed, 30 Jan 2008 03:43:36 -0800 (PST) Message-ID: <2314386.1201693416408.JavaMail.jira@brutus> Date: Wed, 30 Jan 2008 03:43:36 -0800 (PST) From: "Senaka Fernando (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Assigned: (AXIS2C-243) utils have dependancies on axis2 core when it comes to class loading In-Reply-To: <23198500.1157353162303.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Senaka Fernando reassigned AXIS2C-243: -------------------------------------- Assignee: Senaka Fernando (was: Sanjaya Ratnaweera) > utils have dependancies on axis2 core when it comes to class loading > -------------------------------------------------------------------- > > Key: AXIS2C-243 > URL: https://issues.apache.org/jira/browse/AXIS2C-243 > Project: Axis2-C > Issue Type: Bug > Components: util > Affects Versions: Current (Nightly) > Reporter: Damitha Kumarage > Assignee: Senaka Fernando > Attachments: axis2_core_dll_desc.h, diff.txt > > > At the moment > we have this in util/include/axis2_dll_desc.h. > > typedef enum axis2_dll_type > { > /** service dll */ > AXIS2_SVC_DLL = 0, > /** handler dll */ > AXIS2_HANDLER_DLL, > /** message receiver dll */ > AXIS2_MSG_RECV_DLL, > /** module dll */ > AXIS2_MODULE_DLL, > /** transport receiver dll */ > AXIS2_TRANSPORT_RECV_DLL, > /** transport sender dll */ > AXIS2_TRANSPORT_SENDER_DLL > }axis2_dll_type_t; > > This is a layering violation. The util layer > should contain low-level stuff that doesn't depend on the core. This > list of DLL types, although it is in util, conceptually is describing an > aspect of core (the kinds of DLL that core can load). If you changed > the structure of core or even some other module (for example dynamically loading > security modules), then you would have to modify util. > The right solution is just to make the dll type be a string. > The util layer knows only hat it's a string, but doesn't know what the > legal string values are. The core layer would then define constants for > the kinds of DLLs it needs (eg "svc" for the AXIS2_SVC_DLL), and the > security layer can do likewise. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org