Return-Path: Delivered-To: apmail-avalon-dev-archive@www.apache.org Received: (qmail 14312 invoked from network); 20 Nov 2003 15:48:42 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 20 Nov 2003 15:48:42 -0000 Received: (qmail 92670 invoked by uid 500); 20 Nov 2003 15:48:35 -0000 Delivered-To: apmail-avalon-dev-archive@avalon.apache.org Received: (qmail 92613 invoked by uid 500); 20 Nov 2003 15:48:35 -0000 Mailing-List: contact dev-help@avalon.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 dev@avalon.apache.org Received: (qmail 92599 invoked from network); 20 Nov 2003 15:48:34 -0000 Received: from unknown (HELO ms1.mtm-futures.com) (65.121.119.62) by daedalus.apache.org with SMTP; 20 Nov 2003 15:48:34 -0000 Received: from hawkes (jhawkes.adsnm.com [65.121.119.59]) by ms1.mtm-futures.com (8.11.6+Sun/8.11.6) with SMTP id hAKFUnx19737 for ; Thu, 20 Nov 2003 09:30:49 -0600 (CST) Message-ID: <00de01c3af7e$1619de40$0600005a@adsnm.com> From: "Jonathan Hawkes" To: "Avalon Developers List" References: <00ce01c3af7c$675fe850$0600005a@adsnm.com> Subject: AMMENDMENT: [proposal] Avalon Container Framework Date: Thu, 20 Nov 2003 08:50:56 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Please remove the ServiceContainer.getServices() convenience method. It assumes too much. public interface ServiceContainer extends ServiceManager, Disposable { String ROLE = ServiceContainer.class.getName(); Set getServiceRoles(); ServiceConstructor getConstructor(String role); void registerService(ServiceConstructor sc) throws ServiceRegistrationException; void unregisterService(String role); /* BEGIN from ServiceManager ** boolean hasService(String role); Object lookup(String role) throws ServiceException; void release(Object service); ** END from ServiceManager */ // Uncertain about this method... // The List can be modifiable/unmodifiable List getChildContainers(); void verify() throws ServiceResolutionException; // from Disposable void dispose(); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org For additional commands, e-mail: dev-help@avalon.apache.org