Return-Path: Delivered-To: apmail-jakarta-avalon-dev-archive@apache.org Received: (qmail 44037 invoked from network); 1 Jul 2002 19:48:07 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by 209.66.108.5 with SMTP; 1 Jul 2002 19:48:07 -0000 Received: (qmail 23033 invoked by uid 97); 1 Jul 2002 19:48:19 -0000 Delivered-To: qmlist-jakarta-archive-avalon-dev@jakarta.apache.org Received: (qmail 23017 invoked by uid 97); 1 Jul 2002 19:48:19 -0000 Mailing-List: contact avalon-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon Developers List" Reply-To: "Avalon Developers List" Delivered-To: mailing list avalon-dev@jakarta.apache.org Received: (qmail 23005 invoked by uid 98); 1 Jul 2002 19:48:18 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <3D20B1ED.2030206@apache.org> Date: Mon, 01 Jul 2002 21:47:57 +0200 From: Nicola Ken Barozzi Reply-To: nicolaken@apache.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Avalon Developers List Subject: Re: [Attn: Stephen] ***I Get It Now*** References: <000701c22135$e644b140$0801a8c0@Lagrange> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N Leo Sutic wrote: ... > MicroContainer does not return a service instance, but a proxy > implementing > all of the service instance's interfaces. IMHO we should always handle a proxy, at least for security reasons. Proxies (however created, personally I build java code automatically that is compiled on startup), prevent the user from casting to another type, which could be a security problem. If we make components created by factories that can (and IMHO should) return proxies, it's cool :-) -- Nicola Ken Barozzi nicolaken@apache.org - verba volant, scripta manent - (discussions get forgotten, just code remains) --------------------------------------------------------------------- -- To unsubscribe, e-mail: For additional commands, e-mail: