Return-Path: X-Original-To: apmail-felix-users-archive@minotaur.apache.org Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 51CD810F94 for ; Thu, 11 Dec 2014 21:43:48 +0000 (UTC) Received: (qmail 46339 invoked by uid 500); 11 Dec 2014 21:43:47 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 46276 invoked by uid 500); 11 Dec 2014 21:43:47 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 46263 invoked by uid 99); 11 Dec 2014 21:43:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2014 21:43:46 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prvs=642222f801=Alejandro.Endo@grassvalley.com designates 12.161.118.90 as permitted sender) Received: from [12.161.118.90] (HELO mx1.belden.com) (12.161.118.90) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2014 21:43:20 +0000 X-AuditID: 0a01015a-b7f968e000004a7e-4b-548a0fba2097 Received: from bdcnotes1.belden.com ( [10.1.1.71]) by mx1.belden.com (Service Ready) with SMTP id F4.82.19070.ABF0A845; Thu, 11 Dec 2014 16:42:18 -0500 (EST) To: users@felix.apache.org MIME-Version: 1.0 Subject: iPojo factories X-KeepSent: 686C4C4F:D87DBA8C-85257DAB:0076C881; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.3FP2 SHF99 September 04, 2012 From: Alejandro.Endo@grassvalley.com Message-ID: Date: Thu, 11 Dec 2014 16:42:19 -0500 X-MIMETrack: Serialize by Router on BDCNotes1/BeldenCDT(Release 9.0.1FP2|August 03, 2014) at 12/11/2014 04:42:19 PM, Serialize complete at 12/11/2014 04:42:19 PM Content-Type: multipart/alternative; boundary="=_alternative 00773AC085257DAB_=" X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGIsWRmVeSWpSXmKPExsXCxcjorruLvyvE4PJ9E4vOx8fYHRg93k64 wRrAGNXAaJOUWFIWnJmep29nk5iXl1+SWJKqkJJanGyr5JSak5Kap+CSWZyck5iZm1qk6xns r2thYWqppJCZYqtkpKRQkJOYnJqbmldiq5RYUJCal6Jkx6WAAWyAyjLzFFLzkvNTMvPSbZVC Q9x0LZTsXDyDnRNaWTM2z37IVLBVtGLrgUnsDYwvBLsYOTkkBEwklty4yQxhi0lcuLeerYuR i0NIYD6jxISND5hAEiICUhI7vp1mBbF5BQQlTs58wgJiCwtISLx4tpsNotlT4u+WJ1CD7CW+ P/oAVsMmoCIx7e8dRojeIIltExaAzWQRUJU4dKmXHWSZhMAyRoltDw+wgySYBQIk5n5/wDiB kXcWkn2zkKQgbB2JE6uOMUPY2hKLrvxkX8DIsoqRL7fCUC8JHKZ6yfm5mxghcRO1g/Fpi8Ih RgEORiUeXp5TnSFCrIllxZW5hxglOJiVRHgffQcK8aYkVlalFuXHF5XmpBYfYgwCunMisxR3 cj4wpvNK4o0NDIjkKInznrqUEyIkkA6M6ezU1ILUIpihTBycIEu5pESKgVGZWpRYWpIRD0of 8cXABCLVwGgv2Txz48XHnIxSdUXdPg9+BUz6x1k18/7tXWnJf9u7Q1sTGpt3/4uRKL17cLqN y9G2GYF5n6+tazP6qOmwbsWZm1f83fOvBfateeax9XLz8b6jkU+fdWnOWtN5J+Sp/7rlwS+S bufEVV6dveBkmFnF5eD1VVxp0zROZd8Md+Op9hObXhfs5KTEUpyRaKjFXFScCAC0byTb6QIA AA== X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 00773AC085257DAB_= Content-Type: text/plain; charset="US-ASCII" Hello, I realised today I made a wrong assumption with iPojo. I thought that if I used a factory to create an instance, that I could be 100% sure that the instance was going to be valid because (I thought) that if the instance was missing dependencies, the factory itself would be invalid. That is not the case, however. So I am wondering, why is this the case? Now i will have to check after any instance creation if the instance is valid but I'm not sure why. What is the use case where you would want a factory to allow you to create invalid instances? why isn't the state of the factory tied to the state of the instances it creates so that if a factory is not capable of creating valid instances, it itself is invalid? Thank you for any insights Alejandro Endo | Software Designer/Concepteur de logiciels Grass Valley, A Belden Brand | Tel: (514) 333-1772 Ext: 3789 3499 Douglas-B.-Floreani, St-Laurent, Quebec Canada H4S 2C6 DISCLAIMER: Privileged and/or Confidential information may be contained in this message. If you are not the addressee of this message, you may not copy, use or deliver this message to anyone. In such event, you should destroy the message and kindly notify the sender by reply e-mail. It is understood that opinions or conclusions that do not relate to the official business of the company are neither given nor endorsed by the company. Thank You. --=_alternative 00773AC085257DAB_=--