From dev-returnabennett@example.com Mon Jan 03 07:18:11 2011 Return-Path: <dev-returnabennett@example.com> Delivered-To: abennett@example.com Received: (qmail 28864 invoked from network); 3 Jan 2011 07:18:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2011 07:18:11 -0000 Received: (qmail 51537 invoked by uid 500); 3 Jan 2011 07:18:11 -0000 Delivered-To: abennett@example.com Received: (qmail 51272 invoked by uid 500); 3 Jan 2011 07:18:09 -0000 Mailing-List: contact abennett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:abennett@example.com> List-Unsubscribe: <mailto:abennett@example.com> List-Post: <mailto:abennett@example.com> List-Id: <dev.openwebbeans.apache.org> Reply-To: abennett@example.com Delivered-To: mailing list abennett@example.com Received: (qmail 51244 invoked by uid 99); 3 Jan 2011 07:18:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jan 2011 07:18:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jan 2011 07:18:06 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p037Hkrw005707 for <abennett@example.com>; Mon, 3 Jan 2011 07:17:46 GMT Message-ID: <32342242.102651294039066222.JavaMail.jira@thor> Date: Mon, 3 Jan 2011 02:17:46 -0500 (EST) From: "David Jencks (JIRA)" <abennett@example.com> To: abennett@example.com Subject: [jira] Commented: (OWB-493) ProcessProducerMethod and ProcessProducerField type parameters are reversed in filtering (?) CDITCK-168 In-Reply-To: <18620266.127001289942294251.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OWB-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976635#action_12976635 ] David Jencks commented on OWB-493: ---------------------------------- More info: T - The class of the return type of the producer method (Cow in the test) X - The class of the bean representing the producer method (CowShed in the test, having the producer method) ProcessProducerMethod<T,X> extends ProcessBean<X> methods: AnnotatedParameter<T> getAnnotatedDisposedParameter() AnnotatedMethod<T> getAnnotatedProducerMethod() Note that these are on T, the return type of the producer method (Cow in the test) Looking at AnnotatedMethod<X>, Type Parameters: X - the declaring type Represents a method of a Java type. java.lang.reflect.Method getJavaMember() Get the underlying Method. This is supposed to represent the producer method on X (CowShed), but it's specified to be on T (Cow). So I think it has to return null and/or the test should be disabled. Similarly for the AnnotatedParameter. thoughts? > ProcessProducerMethod and ProcessProducerField type parameters are reversed in filtering (?) CDITCK-168 > -------------------------------------------------------------------------------------------------------- > > Key: OWB-493 > URL: https://issues.apache.org/jira/browse/OWB-493 > Project: OpenWebBeans > Issue Type: Bug > Components: Events > Affects Versions: 1.1.0 > Reporter: David Jencks > Assignee: Gurkan Erdogdu > Fix For: 1.1.0 > > > See https://jira.jboss.org/browse/CDITCK-168 > The tck extensions.processBean.ProcessBeanTest test had a couple errors where ProcessProducerMethod<Cowshed, Cow> was treated as a ProcessMethod<Cowshed> whereas it is a ProcessMethod<Cow>, and similarly for ProcessProducerField. > OWB seems to be subject to the same error. > public void observeCowProcessProducerMethod(@Observes ProcessProducerMethod<Cowshed, Cow> event) > is getting called correctly for the ProcessProducerMethod, but > public void observeCowShedProccesBean(@Observes ProcessBean<Cowshed> event) > is getting called with the same event. > I haven't been able to figure out where the problem is. > The corrected test is in 1.0.2.CR3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From dev-returnabennett@example.com Mon Jan 03 18:59:14 2011 Return-Path: <dev-returnabennett@example.com> Delivered-To: abennett@example.com Received: (qmail 71097 invoked from network); 3 Jan 2011 18:59:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2011 18:59:13 -0000 Received: (qmail 7453 invoked by uid 500); 3 Jan 2011 18:59:13 -0000 Delivered-To: abennett@example.com Received: (qmail 7066 invoked by uid 500); 3 Jan 2011 18:59:13 -0000 Mailing-List: contact abennett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:abennett@example.com> List-Unsubscribe: <mailto:abennett@example.com> List-Post: <mailto:abennett@example.com> List-Id: <dev.openwebbeans.apache.org> Reply-To: abennett@example.com Delivered-To: mailing list abennett@example.com Received: (qmail 6859 invoked by uid 99); 3 Jan 2011 18:59:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jan 2011 18:59:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jan 2011 18:59:12 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p03IwpgN015661 for <abennett@example.com>; Mon, 3 Jan 2011 18:58:52 GMT Message-ID: <8751988.114461294081131690.JavaMail.jira@thor> Date: Mon, 3 Jan 2011 13:58:51 -0500 (EST) From: "Gerhard Petracek (JIRA)" <abennett@example.com> To: abennett@example.com Subject: [jira] Created: (OWB-512) ApplicationContext and SingletonContext in WebContextsService MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 ApplicationContext and SingletonContext in WebContextsService ------------------------------------------------------------- Key: OWB-512 URL: https://issues.apache.org/jira/browse/OWB-512 Project: OpenWebBeans Issue Type: Bug Components: Java EE Integration Affects Versions: 1.1.0 Reporter: Gerhard Petracek Assignee: Gurkan Erdogdu WebContextsService shouldn't cache ApplicationContext and SingletonContext in thread-locals (without a fallback) because WebBeansConfigurationListener might call WebContextsService#endContext too early. if e.g. a portable extension gets invoked afterwards it can't access those contexts. since both contexts have to exist all the time a different approach (or a fallback) is needed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From dev-returnabennett@example.com Wed Jan 05 14:04:10 2011 Return-Path: <dev-returnabennett@example.com> Delivered-To: abennett@example.com Received: (qmail 55137 invoked from network); 5 Jan 2011 14:04:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2011 14:04:10 -0000 Received: (qmail 39982 invoked by uid 500); 5 Jan 2011 14:04:10 -0000 Delivered-To: abennett@example.com Received: (qmail 39921 invoked by uid 500); 5 Jan 2011 14:04:07 -0000 Mailing-List: contact abennett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:abennett@example.com> List-Unsubscribe: <mailto:abennett@example.com> List-Post: <mailto:abennett@example.com> List-Id: <dev.openwebbeans.apache.org> Reply-To: abennett@example.com Delivered-To: mailing list abennett@example.com Received: (qmail 39913 invoked by uid 99); 5 Jan 2011 14:04:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 14:04:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 14:04:05 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p05E3jCp027573 for <abennett@example.com>; Wed, 5 Jan 2011 14:03:45 GMT Message-ID: <30664191.160171294236225678.JavaMail.jira@thor> Date: Wed, 5 Jan 2011 09:03:45 -0500 (EST) From: "Gerhard Petracek (JIRA)" <abennett@example.com> To: abennett@example.com Subject: [jira] Created: (OWB-513) proxies should be inactive after a container shutdown MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 proxies should be inactive after a container shutdown ----------------------------------------------------- Key: OWB-513 URL: https://issues.apache.org/jira/browse/OWB-513 Project: OpenWebBeans Issue Type: Bug Components: Injection and Lookup Affects Versions: 1.0.0 Reporter: Gerhard Petracek Assignee: Gurkan Erdogdu something like the exception below might happen if WebBeansConfigurationListener#contextDestroyed gets called before other listeners. SEVERE: Error while loading the propertyFile META-INF/openwebbeans/openwebbeans.properties java.util.zip.ZipException: error in opening zip abennett@example.com(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:114) at java.util.jar.JarFile.<init>(JarFile.java:135) at java.util.jar.JarFile.<init>(JarFile.java:72) at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:72) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:70) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132) at java.net.URL.openStream(URL.java:1010) at org.apache.webbeans.config.PropertyLoader.loadAllProperties(PropertyLoader.java:115) at org.apache.webbeans.config.PropertyLoader.getProperties(PropertyLoader.java:75) at org.apache.webbeans.config.OpenWebBeansConfiguration.parseConfiguration(OpenWebBeansConfiguration.java:216) at org.apache.webbeans.config.OpenWebBeansConfiguration.<init>(OpenWebBeansConfiguration.java:128) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.webbeans.corespi.DefaultSingletonService.getSingletonInstance(DefaultSingletonService.java:89) at org.apache.webbeans.corespi.DefaultSingletonService.get(DefaultSingletonService.java:201) at org.apache.webbeans.config.WebBeansFinder.getSingletonInstance(WebBeansFinder.java:57) at org.apache.webbeans.config.WebBeansFinder.getSingletonInstance(WebBeansFinder.java:52) at org.apache.webbeans.config.OpenWebBeansConfiguration.getInstance(OpenWebBeansConfiguration.java:120) at org.apache.webbeans.corespi.ServiceLoader.getService(ServiceLoader.java:54) at org.apache.webbeans.context.ContextFactory.getContextsService(ContextFactory.java:81) at org.apache.webbeans.context.ContextFactory.getStandardContext(ContextFactory.java:261) at org.apache.webbeans.container.BeanManagerImpl.getContext(BeanManagerImpl.java:281) at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.getContextualInstance(NormalScopedBeanInterceptorHandler.java:124) at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:95) at org.javassist.tmp.java.lang.Object_$$_javassist_23.toString(Object_$$_javassist_23.java) at org.apache.catalina.loader.WebappClassLoader.clearThreadLocalMap(WebappClassLoader.java:2193) at org.apache.catalina.loader.WebappClassLoader.clearReferencesThreadLocals(WebappClassLoader.java:2126) at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1746) at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1658) at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:710) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4649) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From dev-returnabennett@example.com Wed Jan 05 14:48:11 2011 Return-Path: <dev-returnabennett@example.com> Delivered-To: abennett@example.com Received: (qmail 77750 invoked from network); 5 Jan 2011 14:48:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2011 14:48:11 -0000 Received: (qmail 10884 invoked by uid 500); 5 Jan 2011 14:48:11 -0000 Delivered-To: abennett@example.com Received: (qmail 10813 invoked by uid 500); 5 Jan 2011 14:48:09 -0000 Mailing-List: contact abennett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:abennett@example.com> List-Unsubscribe: <mailto:abennett@example.com> List-Post: <mailto:abennett@example.com> List-Id: <dev.openwebbeans.apache.org> Reply-To: abennett@example.com Delivered-To: mailing list abennett@example.com Received: (qmail 10673 invoked by uid 99); 5 Jan 2011 14:48:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 14:48:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 14:48:07 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p05EljK1028158 for <abennett@example.com>; Wed, 5 Jan 2011 14:47:45 GMT Message-ID: <11570620.160841294238865530.JavaMail.jira@thor> Date: Wed, 5 Jan 2011 09:47:45 -0500 (EST) From: "Gurkan Erdogdu (JIRA)" <abennett@example.com> To: abennett@example.com Subject: [jira] Closed: (OWB-502) Only cache the ContextService once, in the SingletonService In-Reply-To: <18172465.13971291077911370.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OWB-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gurkan Erdogdu closed OWB-502. ------------------------------ Resolution: Fixed Fix Version/s: 1.1.0 > Only cache the ContextService once, in the SingletonService > ----------------------------------------------------------- > > Key: OWB-502 > URL: https://issues.apache.org/jira/browse/OWB-502 > Project: OpenWebBeans > Issue Type: Bug > Components: Core > Affects Versions: 1.0.1 > Reporter: David Jencks > Assignee: Gurkan Erdogdu > Fix For: 1.1.0, 1.0.1 > > > Currently the ContextService is cached once in the SingletonService, which can be replaced in environments that don't use enough classloaders to distinguish different web apps in an ear, and also cached by classloader in ContextFactory, which can't as easily be replaced. Caching twice is too compilcated. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From dev-returnabennett@example.com Wed Jan 05 14:50:08 2011 Return-Path: <dev-returnabennett@example.com> Delivered-To: abennett@example.com Received: (qmail 78743 invoked from network); 5 Jan 2011 14:50:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2011 14:50:08 -0000 Received: (qmail 14578 invoked by uid 500); 5 Jan 2011 14:50:08 -0000 Delivered-To: abennett@example.com Received: (qmail 14511 invoked by uid 500); 5 Jan 2011 14:50:06 -0000 Mailing-List: contact abennett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:abennett@example.com> List-Unsubscribe: <mailto:abennett@example.com> List-Post: <mailto:abennett@example.com> List-Id: <dev.openwebbeans.apache.org> Reply-To: abennett@example.com Delivered-To: mailing list abennett@example.com Received: (qmail 14503 invoked by uid 99); 5 Jan 2011 14:50:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 14:50:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 14:50:05 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p05EnjBN028203 for <abennett@example.com>; Wed, 5 Jan 2011 14:49:45 GMT Message-ID: <3553360.160941294238985403.JavaMail.jira@thor> Date: Wed, 5 Jan 2011 09:49:45 -0500 (EST) From: "Gurkan Erdogdu (JIRA)" <abennett@example.com> To: abennett@example.com Subject: [jira] Commented: (OWB-511) Delegate actualInstance serialization behavior in ResourceProxyHandler In-Reply-To: <23160200.88021293825948217.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OWB-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977782#action_12977782 ] Gurkan Erdogdu commented on OWB-511: ------------------------------------ Accepted :) > Delegate actualInstance serialization behavior in ResourceProxyHandler > ---------------------------------------------------------------------- > > Key: OWB-511 > URL: https://issues.apache.org/jira/browse/OWB-511 > Project: OpenWebBeans > Issue Type: Bug > Components: Core > Affects Versions: 1.1.0 > Reporter: David Jencks > Assignee: Gurkan Erdogdu > Fix For: 1.1.0 > > Attachments: OWB-511.diff > > > I suggested this on the dev list, here's a patch to show what I have in mind more definitely. This also includes part of the proposal to extend the usefulness of WebBeansContext. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From dev-returnabennett@example.com Wed Jan 05 14:55:34 2011 Return-Path: <dev-returnabennett@example.com> Delivered-To: abennett@example.com Received: (qmail 80659 invoked from network); 5 Jan 2011 14:55:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2011 14:55:34 -0000 Received: (qmail 29475 invoked by uid 500); 5 Jan 2011 14:55:34 -0000 Delivered-To: abennett@example.com Received: (qmail 29417 invoked by uid 500); 5 Jan 2011 14:55:33 -0000 Mailing-List: contact abennett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:abennett@example.com> List-Unsubscribe: <mailto:abennett@example.com> List-Post: <mailto:abennett@example.com> List-Id: <dev.openwebbeans.apache.org> Reply-To: abennett@example.com Delivered-To: mailing list abennett@example.com Received: (qmail 29409 invoked by uid 99); 5 Jan 2011 14:55:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 14:55:32 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO web38203.mail.mud.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 05 Jan 2011 14:55:23 +0000 Received: (qmail 76950 invoked by uid 60001); 5 Jan 2011 14:55:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1294239301; bh=vaOU+osbVZvYtoSdpczm0VU5gmNhUBHDxQfV9ZA4iTI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=xBNNGySzaxZHryfbBrCZWjejSMT1DFN2NUXlbp1wACnPhYmqDGEGCfzBMl9dPrzfsNWzJyBx3/z7aTBqmhtDECDbwGYvbP4KZbZw0oO+It46q9MCJ9EhZggcxihzbw8OL6+L1mcSWC2c+ydoWEPGK7v07I/93GCId9+2jtV4PjI= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=oJefk/WcLUZmQPghYo26J8304JrU3O4DRwvxD1ch9IVM/EZbhEUNRUBZUduXxbQxt/bSvNoU2r5Q4CWP4pEKq1PdVKJhx4zCDWBoeje/HuUOQ6mOcRYMh4BLYcjb8HEK92i4tm4dGGei3skvoDt49M2Dw51btlvjMk+bBkGcLSs=; Message-ID: <abennett@example.com> X-YMail-OSG: C3RWQ3MVM1kaCcBg2CPZeG4gU.dl6OV7uQbX1DenfI0kfD. 6jKHbc4_3k_HXwoILPVGcAO7oO6Cn9cKwBi4KGL60ToimbvMmWjryu_o80e2 6LIj39UFiw.1NN7dKAKsoi3UkmT3U._pNaAeIQBQnU6ubQo2Adc_qizzeKv7 x.mlXSZSM3LdCcKDlXoKz9KIM0D0iRlUZTa7WA9t6QVjvctCbrM_U6yxvFK_ JTlfRg3a9VuUI._A0RtnW2ryA.ZHblxK2atYMCWImSsoS5Bai9MnFRtJuLqz BW3mA4UDcIfYEYY1pyMdcaIDXOfhiA5BZEH.ycU_ydRYlWSU8ERM.JOemecN SHSL8JuK2D6w6kjxUwRBUUXVg1CpJc4P0qqokt.bva88nbKXK4FJHXIVmlVi zwV_4SciznNc- Received: from [83.161.120.155] by web38203.mail.mud.yahoo.com via HTTP; Wed, 05 Jan 2011 06:55:01 PST X-Mailer: YahooMailRC/553 YahooMailWebService/83.161.120.1555259 Date: Wed, 5 Jan 2011 06:55:01 -0800 (PST) From: Gurkan Erdogdu <abennett@example.com> Subject: Release 1.1.0 To: abennett@example.com MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hello folks,=0A=0A- WDYT about 1.1.0 release? =0A- Please look at your JIRA= tasks and close them if no need to stay as open.=0A- Please look at Unsch= eduled tasks and put them in 1.0.1 or 1.1.0=0A=0AThanks;=0A=0A--Gurkan=0A= =0A=0A From dev-returnabennett@example.com Wed Jan 05 15:51:15 2011 Return-Path: <dev-returnabennett@example.com> Delivered-To: abennett@example.com Received: (qmail 15759 invoked from network); 5 Jan 2011 15:51:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2011 15:51:10 -0000 Received: (qmail 24712 invoked by uid 500); 5 Jan 2011 15:51:10 -0000 Delivered-To: abennett@example.com Received: (qmail 23525 invoked by uid 500); 5 Jan 2011 15:51:08 -0000 Mailing-List: contact abennett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:abennett@example.com> List-Unsubscribe: <mailto:abennett@example.com> List-Post: <mailto:abennett@example.com> List-Id: <dev.openwebbeans.apache.org> Reply-To: abennett@example.com Delivered-To: mailing list abennett@example.com Received: (qmail 23509 invoked by uid 99); 5 Jan 2011 15:51:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 15:51:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 15:51:06 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p05FokdR029081 for <abennett@example.com>; Wed, 5 Jan 2011 15:50:46 GMT Message-ID: <6259085.161951294242646393.JavaMail.jira@thor> Date: Wed, 5 Jan 2011 10:50:46 -0500 (EST) From: "Gurkan Erdogdu (JIRA)" <abennett@example.com> To: abennett@example.com Subject: [jira] Closed: (OWB-511) Delegate actualInstance serialization behavior in ResourceProxyHandler In-Reply-To: <23160200.88021293825948217.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OWB-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gurkan Erdogdu closed OWB-511. ------------------------------ Resolution: Fixed > Delegate actualInstance serialization behavior in ResourceProxyHandler > ---------------------------------------------------------------------- > > Key: OWB-511 > URL: https://issues.apache.org/jira/browse/OWB-511 > Project: OpenWebBeans > Issue Type: Bug > Components: Core > Affects Versions: 1.1.0 > Reporter: David Jencks > Assignee: Gurkan Erdogdu > Fix For: 1.1.0 > > Attachments: OWB-511.diff > > > I suggested this on the dev list, here's a patch to show what I have in mind more definitely. This also includes part of the proposal to extend the usefulness of WebBeansContext. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From dev-returnabennett@example.com Wed Jan 05 15:55:15 2011 Return-Path: <dev-returnabennett@example.com> Delivered-To: abennett@example.com Received: (qmail 18626 invoked from network); 5 Jan 2011 15:55:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2011 15:55:15 -0000 Received: (qmail 33845 invoked by uid 500); 5 Jan 2011 15:55:15 -0000 Delivered-To: abennett@example.com Received: (qmail 33656 invoked by uid 500); 5 Jan 2011 15:55:13 -0000 Mailing-List: contact abennett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:abennett@example.com> List-Unsubscribe: <mailto:abennett@example.com> List-Post: <mailto:abennett@example.com> List-Id: <dev.openwebbeans.apache.org> Reply-To: abennett@example.com Delivered-To: mailing list abennett@example.com Received: (qmail 33648 invoked by uid 99); 5 Jan 2011 15:55:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 15:55:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 15:55:12 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p05FspPq029142 for <abennett@example.com>; Wed, 5 Jan 2011 15:54:51 GMT Message-ID: <13533031.162021294242891394.JavaMail.jira@thor> Date: Wed, 5 Jan 2011 10:54:51 -0500 (EST) From: "Gurkan Erdogdu (JIRA)" <abennett@example.com> To: abennett@example.com Subject: [jira] Closed: (OWB-19) Geronimo Integration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OWB-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gurkan Erdogdu closed OWB-19. ----------------------------- Resolution: Won't Fix Handle by Geronimo project. > Geronimo Integration > -------------------- > > Key: OWB-19 > URL: https://issues.apache.org/jira/browse/OWB-19 > Project: OpenWebBeans > Issue Type: Task > Components: Java EE Integration > Affects Versions: 1.0.0-alpha-1 > Reporter: Gurkan Erdogdu > Assignee: Gurkan Erdogdu > Fix For: 1.1.0 > > > Talk Geronimo guys to integrate Web Beans discovery. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From dev-returnabennett@example.com Wed Jan 05 15:59:12 2011 Return-Path: <dev-returnabennett@example.com> Delivered-To: abennett@example.com Received: (qmail 19444 invoked from network); 5 Jan 2011 15:59:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2011 15:59:11 -0000 Received: (qmail 36828 invoked by uid 500); 5 Jan 2011 15:59:11 -0000 Delivered-To: abennett@example.com Received: (qmail 36700 invoked by uid 500); 5 Jan 2011 15:59:10 -0000 Mailing-List: contact abennett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:abennett@example.com> List-Unsubscribe: <mailto:abennett@example.com> List-Post: <mailto:abennett@example.com> List-Id: <dev.openwebbeans.apache.org> Reply-To: abennett@example.com Delivered-To: mailing list abennett@example.com Received: (qmail 36598 invoked by uid 99); 5 Jan 2011 15:59:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 15:59:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 15:59:08 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p05FwkP8029201 for <abennett@example.com>; Wed, 5 Jan 2011 15:58:46 GMT Message-ID: <25701995.162101294243126649.JavaMail.jira@thor> Date: Wed, 5 Jan 2011 10:58:46 -0500 (EST) From: "Gurkan Erdogdu (JIRA)" <abennett@example.com> To: abennett@example.com Subject: [jira] Updated: (OWB-344) implement Decorators and Interceptors as subclassing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OWB-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gurkan Erdogdu updated OWB-344: ------------------------------- Fix Version/s: (was: 1.1.0) 2.0.0 Not possible for 1 series. > implement Decorators and Interceptors as subclassing > ---------------------------------------------------- > > Key: OWB-344 > URL: https://issues.apache.org/jira/browse/OWB-344 > Project: OpenWebBeans > Issue Type: Wish > Components: Interceptor and Decorators > Affects Versions: 1.0.0-alpha-1 > Reporter: Mark Struberg > Assignee: Mark Struberg > Fix For: 2.0.0 > > > This will allow us to further speed up interceptor and decorator handling and to store interceptor instances directly with the contextual instances. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From dev-returnabennett@example.com Wed Jan 05 17:53:29 2011 Return-Path: <dev-returnabennett@example.com> Delivered-To: abennett@example.com Received: (qmail 70022 invoked from network); 5 Jan 2011 17:53:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2011 17:53:28 -0000 Received: (qmail 63387 invoked by uid 500); 5 Jan 2011 17:53:28 -0000 Delivered-To: abennett@example.com Received: (qmail 63332 invoked by uid 500); 5 Jan 2011 17:53:28 -0000 Mailing-List: contact abennett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:abennett@example.com> List-Unsubscribe: <mailto:abennett@example.com> List-Post: <mailto:abennett@example.com> List-Id: <dev.openwebbeans.apache.org> Reply-To: abennett@example.com Delivered-To: mailing list abennett@example.com Received: (qmail 63324 invoked by uid 99); 5 Jan 2011 17:53:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 17:53:28 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO smtp102.prem.mail.sp1.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 05 Jan 2011 17:53:21 +0000 Received: (qmail 13199 invoked from network); 5 Jan 2011 17:53:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=AArH4MHGMGZuAtSzIe0fRPwV+EDaQdmyU9Pn2zuessFuMt2Eb4K92RPbNIMpMdCrsQ8+EnCRWmJoIbjiMNFDzSFiYIKHlc6ksbFjRvoHiVwz5Mid9VcGqBK3FgId7Jqzvnz5qxWP9WbQhG+P1fZwCzFiuyBMS4l+PnQGWDOCQOM= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1294249981; bh=AecSnJiu1IJMgmAid5ilNJDZvGosFXSihwl1zBDiFZM=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=2ZvNL2LbSaYQ28M08/vI+wi3gdWrbO3UNwbetNMdtZwhbXg5dCVn2MeV4tqngnAJXP2zpcvMiO6UYc87pnbLRq13A7csoWFcUPj010z/Basyo37gHSGqkvV6CKOpl+KY4RQqnG+whoC/NIC8kPyDoEPnicUGI7/HnWwP27zDLCE= Received: from [83.161.120.155] (abennett@example.com with plain) by smtp102.prem.mail.sp1.yahoo.com with SMTP; 05 Jan 2011 09:53:00 -0800 PST X-Yahoo-SMTP: .9oIUzyswBANsYgUm_5uPui0skTnzGJXJQ-- X-YMail-OSG: lKUn3dUVM1mhVpdWQXxOnleFhBf_1N7wpVpP3SoNijByt.f zwCQV3wS.W6.tkZNQYnuQDPxMkpb6MLvZ3rQ9jpZZIjy5fyAv7YchB_Ny6Uv FlLpfVDnFgJ6OmMoExVYcGfbTxkn3iuiQr8kSyt7b03pmDBRpNOjRuIGnyUZ X17r002Amjnenlycbc_SWNtArEmcRbLdmqFo_UkjENz1yardnpOZvC5FPY6r 3dSpPzlqaZSDTOdnUymn3l77uCy50Pf9WQViJKRyUE29m.V7GXe4Rt4U- X-Yahoo-Newman-Property: ymail-3 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: Release 1.1.0 From: David Jencks <abennett@example.com> In-Reply-To: <abennett@example.com> Date: Wed, 5 Jan 2011 09:52:59 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <abennett@example.com> References: <abennett@example.com> To: abennett@example.com X-Mailer: Apple Mail (2.1082) On Jan 5, 2011, at 6:55 AM, Gurkan Erdogdu wrote: > Hello folks, >=20 > - WDYT about 1.1.0 release?=20 Since you applied my patch that adds significant capabilities to = WebBeansContext, I'd like to spend a little time modifying OWB to use it = wherever it's easy to do so. If we don't completely eliminate the = service loader we need to be sure it doesn't conflict with the new code. Also, OWB-493 needs to be fixed or we need to talk Pete into excluding = the relevant tests. I don't think I have the knowledge of OWB internals = needed to fix it. > - Please look at your JIRA tasks and close them if no need to stay as = open. I don't seem to be able to close issues, just resolve them. thanks david jencks > - Please look at Unscheduled tasks and put them in 1.0.1 or 1.1.0 >=20 > Thanks; >=20 > --Gurkan >=20 >=20 >=20 From dev-returnabennett@example.com Wed Jan 05 19:16:39 2011 Return-Path: <dev-returnabennett@example.com> Delivered-To: abennett@example.com Received: (qmail 25573 invoked from network); 5 Jan 2011 19:16:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2011 19:16:39 -0000 Received: (qmail 3285 invoked by uid 500); 5 Jan 2011 19:16:39 -0000 Delivered-To: abennett@example.com Received: (qmail 3254 invoked by uid 500); 5 Jan 2011 19:16:39 -0000 Mailing-List: contact abennett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:abennett@example.com> List-Unsubscribe: <mailto:abennett@example.com> List-Post: <mailto:abennett@example.com> List-Id: <dev.openwebbeans.apache.org> Reply-To: abennett@example.com Delivered-To: mailing list abennett@example.com Received: (qmail 3246 invoked by uid 99); 5 Jan 2011 19:16:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 19:16:39 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO web38201.mail.mud.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 05 Jan 2011 19:16:31 +0000 Received: (qmail 27312 invoked by uid 60001); 5 Jan 2011 19:16:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1294254969; bh=V40YaXjUintwGYT4oeJTRElO1TWZFSjeyK76bsruciQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bKvupNFiqKQCqg3WNxWNSDapmuy77KrDhxvTryZXU4QrqbxDqL76u3aQlPP7tfBt5gFJRvnMtUeqY7nOVAi76Wxn/HGAPf8lW942tyld8EQ4M+UfhK2jOMgLWwUcKLan+t+6wzuZ9HujnOYlBEOewphCDsr76fPFmSINStFaDkY= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=LiS0CkUhFQnistRyUhLGKFh2xkn+2MrY1bGzzVxvwf2glPKDdcJnJgH6Wo/U7oRaKkgHEGMMJpJGWEINtHhLH93SWUJN8dREbwhemC6IgzJR8q6J1DJoGHN6Vy1emkjLouuI+npPY6FlQzMffr2tRfgy6Ox8SP+uOPFLswFBEHE=; Message-ID: <abennett@example.com> X-YMail-OSG: bfsMm_oVM1koeIENNVd_q2lHsbita55bE6qUrb59sHq3NaP G2ZXVqejJIHxSiqKoU4M.NxiMzh3t1sigEg.9TcIedwqmXN6Es6gaSSfTyIX Kd9hkyYvAnzd7s597ibNePLZXokLCEzIV7i2yLLfYFbJHAvh_jdvizfWT_vc c83fFGRDEAfi5T1AIHEjHQl.xgWpkY5iblXqV.9ouxZbBq6gVYEUBx4k5R8d hJ6jMw23J64p59LDlOSIbUdlipXQWASMCg2rKuEBMLBFcq.HxlUl9RliNhBP 9kjXeXti.9GjAGJYjuRtJw_s7XhqsSbQH_BO.NH1pPnB5SIpSKE7164tXi_E 7k_lEDToxCPzbtR.XrtvE3iYs9CC9mxoiLLNJlUyOQ1DjIVD65r0N3bvseXC YI0E54ccCUzhEXQ-- Received: from [83.161.120.155] by web38201.mail.mud.yahoo.com via HTTP; Wed, 05 Jan 2011 11:16:09 PST X-Mailer: YahooMailWebService/83.161.120.1555259 Date: Wed, 5 Jan 2011 11:16:09 -0800 (PST) From: Gurkan Erdogdu <abennett@example.com> Subject: Yan888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 Re: Release 1.1.0 To: abennett@example.com MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello David i will look at owb-493 you mentioned. i assume that this is the single fail= ed test for 1.0.2-final tck in geronimo, isnt it? Thanks=0A=0A=C3=87ar, 05 Oca 2011 19:52 EET tarihinde David Jencks =C5=9F= =C3=B6yle yazd=C4=B1:=0A=0A>=0A>On Jan 5, 2011, at 6:55 AM, Gurkan Erdogdu = wrote:=0A>=0A>> Hello folks,=0A>> =0A>> - WDYT about 1.1.0 release? =0A>=0A= >Since you applied my patch that adds significant capabilities to WebBeansC= ontext, I'd like to spend a little time modifying OWB to use it wherever it= 's easy to do so. If we don't completely eliminate the service loader we n= eed to be sure it doesn't conflict with the new code.=0A>=0A>Also, OWB-493 = needs to be fixed or we need to talk Pete into excluding the relevant tests= . I don't think I have the knowledge of OWB internals needed to fix it.=0A= >=0A>> - Please look at your JIRA tasks and close them if no need to stay = as open.=0A>=0A>I don't seem to be able to close issues, just resolve them.= =0A>=0A>thanks=0A>david jencks=0A>=0A>=0A>> - Please look at Unscheduled ta= sks and put them in 1.0.1 or 1.1.0=0A>> =0A>> Thanks;=0A>> =0A>> --Gurkan= =0A>> =0A>> =0A>> =0A>=0A=0A=0A From dev-returnabennett@example.com Wed Jan 05 19:33:40 2011 Return-Path: <dev-returnabennett@example.com> Delivered-To: abennett@example.com Received: (qmail 34763 invoked from network); 5 Jan 2011 19:33:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2011 19:33:40 -0000 Received: (qmail 37397 invoked by uid 500); 5 Jan 2011 19:33:40 -0000 Delivered-To: abennett@example.com Received: (qmail 37338 invoked by uid 500); 5 Jan 2011 19:33:40 -0000 Mailing-List: contact abennett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:abennett@example.com> List-Unsubscribe: <mailto:abennett@example.com> List-Post: <mailto:abennett@example.com> List-Id: <dev.openwebbeans.apache.org> Reply-To: abennett@example.com Delivered-To: mailing list abennett@example.com Received: (qmail 37330 invoked by uid 99); 5 Jan 2011 19:33:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 19:33:40 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO smtp107.prem.mail.sp1.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 05 Jan 2011 19:33:33 +0000 Received: (qmail 23287 invoked from network); 5 Jan 2011 19:33:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=Fr5kxnzds31HpA6UAk9tFN3V0DL0SjbfkFzlMzjDDxs0WNdb1eK5HhDChD2141Zc6FHPm6JXpdS1NMyql0mgZfJNuQLtW9ClRNeSelolAGnFus+w22is641V7IEjoXj0/Gsg38xdQOl1j+1mzk+7+5PDSErue32alZVLHCfKmds= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1294255991; bh=0/KGLORgBkOk0D9BUKwHA8nPkm4CjiSvUJgf8QuRhcA=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=q/wbtqUcDrsnvJLnIx8IiSpOtKZZXD7RWuI//waW5tUpWSpoOO5WALITRfvzeHk/iO8xvr/+wEPZZMKxb4VXWyV6UR4ZXTsJ09pxQmeXfATAkKKSzrZP6H9CZUYotOUy8R60NHjP4M3ybofs8lY/Pur6fJkqwLnUY7Vh5IUPOFo= Received: from [83.161.120.155] (abennett@example.com with plain) by smtp107.prem.mail.sp1.yahoo.com with SMTP; 05 Jan 2011 11:33:11 -0800 PST X-Yahoo-SMTP: .9oIUzyswBANsYgUm_5uPui0skTnzGJXJQ-- X-YMail-OSG: wUVfldQVM1lYmDPwOszDr4_.Dc1WOnqw4C82PHVp.wy.CJh v9rywS8U9IlUW5WiHwixfdR8lmh2Umoi7u2cl8iW0Id6cQIbQRplIeiekmP4 5zF93OepAaBD6ffucyBZi70XVSecKy7BG03kvLZESBtiQ_zA7zktReApXLcK kieN0JYMH1Aux0dF8DPa33leF93PuUV3BoSThfxqIY4WUPcCrZ2jb52_ubkJ VXl9IlYf_vd.Oqvvdb2vRtKefGPbpiyybXgD4rn82aAet6FAt7GjT1ZCnHsQ i_c60OgB2teWZRz80GkOMD0rIsIgcV0U4jjE- X-Yahoo-Newman-Property: ymail-3 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: Yan888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 Re: Release 1.1.0 From: David Jencks <abennett@example.com> In-Reply-To: <abennett@example.com> Date: Wed, 5 Jan 2011 11:33:10 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <abennett@example.com> References: <abennett@example.com> To: abennett@example.com X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org The tck version is up to 1.0.4-SNAPSHOT, but this is the remaining = problem in geronimo. I think you'll need to get the = http://anonsvn.jboss.org/repos/weld/cdi-tck/branches/1.0 and build it = yourself to see the most recent test revisions. I'm not convinced the = changes Pete has made to the meaning of the events and the tests are = appropriate for a 1.0.x tck. I'm curious what you think. thanks david jencks =20 On Jan 5, 2011, at 11:16 AM, Gurkan Erdogdu wrote: > Hello David > i will look at owb-493 you mentioned. i assume that this is the single = failed test for 1.0.2-final tck in geronimo, isnt it? >=20 > Thanks >=20 > =C3=87ar, 05 Oca 2011 19:52 EET tarihinde David Jencks =C5=9F=C3=B6yle = yazd=C4=B1: >=20 >>=20 >> On Jan 5, 2011, at 6:55 AM, Gurkan Erdogdu wrote: >>=20 >>> Hello folks, >>>=20 >>> - WDYT about 1.1.0 release?=20 >>=20 >> Since you applied my patch that adds significant capabilities to = WebBeansContext, I'd like to spend a little time modifying OWB to use it = wherever it's easy to do so. If we don't completely eliminate the = service loader we need to be sure it doesn't conflict with the new code. >>=20 >> Also, OWB-493 needs to be fixed or we need to talk Pete into = excluding the relevant tests. I don't think I have the knowledge of OWB = internals needed to fix it. >>=20 >>> - Please look at your JIRA tasks and close them if no need to stay = as open. >>=20 >> I don't seem to be able to close issues, just resolve them. >>=20 >> thanks >> david jencks >>=20 >>=20 >>> - Please look at Unscheduled tasks and put them in 1.0.1 or 1.1.0 >>>=20 >>> Thanks; >>>=20 >>> --Gurkan >>>=20 >>>=20 >>>=20 >>=20 >=20 >=20 >=20 From dev-returnabennett@example.com Thu Jan 06 08:56:12 2011 Return-Path: <dev-returnabennett@example.com> Delivered-To: abennett@example.com Received: (qmail 76482 invoked from network); 6 Jan 2011 08:56:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Jan 2011 08:56:12 -0000 Received: (qmail 73800 invoked by uid 500); 6 Jan 2011 08:56:12 -0000 Delivered-To: abennett@example.com Received: (qmail 73742 invoked by uid 500); 6 Jan 2011 08:56:10 -0000 Mailing-List: contact abennett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:abennett@example.com> List-Unsubscribe: <mailto:abennett@example.com> List-Post: <mailto:abennett@example.com> List-Id: <dev.openwebbeans.apache.org> Reply-To: abennett@example.com Delivered-To: mailing list abennett@example.com Received: (qmail 73732 invoked by uid 99); 6 Jan 2011 08:56:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 08:56:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 08:56:07 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p068tjRS017490 for <abennett@example.com>; Thu, 6 Jan 2011 08:55:45 GMT Message-ID: <33107431.183341294304145523.JavaMail.jira@thor> Date: Thu, 6 Jan 2011 03:55:45 -0500 (EST) From: "Gurkan Erdogdu (JIRA)" <abennett@example.com> To: abennett@example.com Subject: [jira] Commented: (OWB-496) Don't replace the ProxyFactory classloaderProvider without the intention to do so In-Reply-To: <20380923.230201290411074157.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OWB-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978230#action_12978230 ] Gurkan Erdogdu commented on OWB-496: ------------------------------------ Problem is that, In JavasisstProxyFactory # public ProxyFactory createProxyFactory(Bean<?> bean) throws Exception method, we add Serializable interface to the interface list. When Javassist would get ClassLoader, it executes the following statements in ProxyFactory protected ClassLoader getClassLoader0() { ClassLoader loader = null; if (superClass != null && !superClass.getName().equals("java.lang.Object")) loader = superClass.getClassLoader(); else if (interfaces != null && interfaces.length > 0) loader = interfaces[0].getClassLoader(); if (loader == null) { loader = getClass().getClassLoader(); // In case javassist is in the endorsed dir if (loader == null) { loader = Thread.currentThread().getContextClassLoader(); if (loader == null) loader = ClassLoader.getSystemClassLoader(); } } return loader; } Here it looks interfaces[0] and it will be Serializable. Its classloader will be null. Therefore it gets classloader via getclass().getClassLoader(). It will be the server class loader if javassist.jar is located in server lib. In Tomcat, we are getting ClassNotFoundException because, javassist.jar is located in tomcat/lib directory. That is the problem that I was trying to explain. I will add flag or SPI for this. > Don't replace the ProxyFactory classloaderProvider without the intention to do so > --------------------------------------------------------------------------------- > > Key: OWB-496 > URL: https://issues.apache.org/jira/browse/OWB-496 > Project: OpenWebBeans > Issue Type: Bug > Components: Context and Scopes > Affects Versions: 1.1.0 > Reporter: David Jencks > Assignee: Gurkan Erdogdu > Fix For: 1.1.0 > > > Currently JavassistProxyFactory.getProxyClass() replaces the ProxyFactory.classloaderProvider on any exception with a classloaderProvider that is very unlikely to work better than the default. Setting the classLoaderProvider should be a matter of intentional configuration, not flailing around after an unexpected exception. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From dev-returnabennett@example.com Thu Jan 06 09:46:09 2011 Return-Path: <dev-returnabennett@example.com> Delivered-To: abennett@example.com Received: (qmail 95477 invoked from network); 6 Jan 2011 09:46:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Jan 2011 09:46:09 -0000 Received: (qmail 5135 invoked by uid 500); 6 Jan 2011 09:46:09 -0000 Delivered-To: abennett@example.com Received: (qmail 5072 invoked by uid 500); 6 Jan 2011 09:46:07 -0000 Mailing-List: contact abennett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:abennett@example.com> List-Unsubscribe: <mailto:abennett@example.com> List-Post: <mailto:abennett@example.com> List-Id: <dev.openwebbeans.apache.org> Reply-To: abennett@example.com Delivered-To: mailing list abennett@example.com Received: (qmail 5064 invoked by uid 99); 6 Jan 2011 09:46:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 09:46:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 09:46:06 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p069jj3o018133 for <abennett@example.com>; Thu, 6 Jan 2011 09:45:46 GMT Message-ID: <2710876.184011294307145804.JavaMail.jira@thor> Date: Thu, 6 Jan 2011 04:45:45 -0500 (EST) From: "Gurkan Erdogdu (JIRA)" <abennett@example.com> To: abennett@example.com Subject: [jira] Commented: (OWB-496) Don't replace the ProxyFactory classloaderProvider without the intention to do so In-Reply-To: <20380923.230201290411074157.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OWB-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978246#action_12978246 ] Gurkan Erdogdu commented on OWB-496: ------------------------------------ see rev1055806. I have added flag to openwebbean.properties with name "org.apache.webbeans.javassist.useClassLoaderProvider". Default is false, therefore if anybody wants to change classloaderpovider to Thread.ClassLoader, it must configure it. It means that current situtation has not effected. > Don't replace the ProxyFactory classloaderProvider without the intention to do so > --------------------------------------------------------------------------------- > > Key: OWB-496 > URL: https://issues.apache.org/jira/browse/OWB-496 > Project: OpenWebBeans > Issue Type: Bug > Components: Context and Scopes > Affects Versions: 1.1.0 > Reporter: David Jencks > Assignee: Gurkan Erdogdu > Fix For: 1.1.0 > > > Currently JavassistProxyFactory.getProxyClass() replaces the ProxyFactory.classloaderProvider on any exception with a classloaderProvider that is very unlikely to work better than the default. Setting the classLoaderProvider should be a matter of intentional configuration, not flailing around after an unexpected exception. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From dev-returnabennett@example.com Thu Jan 06 09:56:15 2011 Return-Path: <dev-returnabennett@example.com> Delivered-To: abennett@example.com Received: (qmail 97114 invoked from network); 6 Jan 2011 09:56:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Jan 2011 09:56:13 -0000 Received: (qmail 14401 invoked by uid 500); 6 Jan 2011 09:56:13 -0000 Delivered-To: abennett@example.com Received: (qmail 13433 invoked by uid 500); 6 Jan 2011 09:56:11 -0000 Mailing-List: contact abennett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:abennett@example.com> List-Unsubscribe: <mailto:abennett@example.com> List-Post: <mailto:abennett@example.com> List-Id: <dev.openwebbeans.apache.org> Reply-To: abennett@example.com Delivered-To: mailing list abennett@example.com Received: (qmail 13418 invoked by uid 99); 6 Jan 2011 09:56:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 09:56:10 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO web38207.mail.mud.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Jan 2011 09:55:59 +0000 Received: (qmail 13528 invoked by uid 60001); 6 Jan 2011 09:55:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1294307737; bh=rdRsnSV1sNavylsCg/Gv0jqipaa36mIOo9hTeB25DNI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Ecoe+Dtp4eP0ifoybIkBJUYwWmWuLR7Uyd7Cdy5kvRCuuXt6IEx84UW7cz+Xuq4KTQ6cjbFOPfpbe8E3WjZ6empQ8Mqzdtfktu+09LSxGu5ryU7GDVcbtnaLV3gFHu54tHVGCzstyr43huCF1gNCuJqBS44vCELrTw/mlihXS2w= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XxL3RI6eEGlHEoRKsOovZvVQtR0wOMsjZP12yPIRPLKwWFu4mKj/v+KE8Id+kCZrDhz54OhEQ25e5EyaMqLa+GYASRr3xYhqkf7vxt6/W4SR3hFjtQccNJsODKhYoEZ1JBZq+Q9XXfp+oi2L5/nk9Y0HTOj4wfc6LAunI6J8Xf0=; Message-ID: <{{EMAIL+PHONE}}> X-YMail-OSG: 5_bZoTIVM1kpkCHAedeZ2HSNtPrVVPB9Gd.86ka395aOCe7 ihKi2ydzpNYPae0nA5gRdtHbrBvUymDKOmfg3W_fUK4ZDIoHYcZAzGo2nWTj PJ_ur9g9Fgasd8PHwkfDzXYn6QzirAIEd23_H331xwFlAmKEzjQ.7zFFwXUw 63nva1ZgxrSayWc6p0Mz74vNmjoW6O61SKPCxjV6l_diB_OTsG_xSpbw8Wqj clzVN5po.8FsGJzXmaAm536AFnThPQfvHhw4LZ5F606YrkkPBPFktoi0VcX. 8E4_C7TPZGAcVjVZ7QWAap8oAd1jJZ3apwdX78YZpSBaKmNa6jc0ypObXD50 mABg1pOka_Pa0etbCo2OHKLgPUtkJsi.4wQ7N89TtE0m5UeCw3RtF5ZgD2UY es2NO.xpHyeo5 Received: from [83.161.120.155] by web38207.mail.mud.yahoo.com via HTTP; Thu, 06 Jan 2011 01:55:36 PST X-Mailer: YahooMailRC/553 YahooMailWebService/83.161.120.1555259 References: <abennett@example.com> Date: Thu, 6 Jan 2011 01:55:36 -0800 (PST) From: Gurkan Erdogdu <abennett@example.com> Subject: Re: svn commit: r1055805 [1/2] - in /openwebbeans/trunk/webbeans-impl/src: main/java/org/apache/webbeans/annotation/ main/java/org/apache/webbeans/config/ main/java/org/apache/webbeans/container/ main/java/org/apache/webbeans/corespi/ main/java/org/apache/... To: abennett@example.com In-Reply-To: <abennett@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Some statements in WebBeansContext and DefaultsingleonService as=0A=0Autil.= Track.....=0A=0AI will comment out them....=0A=0A=0A=0A----- Original Messa= ge ----=0AFrom: "abennett@example.com" <abennett@example.com>=0ATo: commits@o= penwebbeans.apache.org=0ASent: Thu, January 6, 2011 11:35:32 AM=0ASubject: = svn commit: r1055805 [1/2] - in /openwebbeans/trunk/webbeans-impl/src: =0Am= ain/java/org/apache/webbeans/annotation/ main/java/org/apache/webbeans/conf= ig/ =0Amain/java/org/apache/webbeans/container/ main/java/org/apache/webbea= ns/corespi/ =0Amain/java/org/apache/...=0A=0AAuthor: dblevins=0ADate: Thu J= an 6 09:35:31 2011=0ANew Revision: 1055805=0A=0AURL: http://svn.apache.org= /viewvc?rev=3D1055805&view=3Drev=0ALog:=0AMoved AnnotationUtil code that op= erated on the WebBeansContext into an new =0AAnnotationManager class tha= t now also lives in the WebBeansContext=0ARetained but deprecated a= ll the affected methods of AnnotationUtil.=0AConsolidated repeated calls= made in the same method (either in code or loops) to =0AWebBeansContext.ge= tInstance().getAnnotationManager()=0A=0AOWB-503 status: 568 code uses=0ATot= al of 165069 static synchronized accesses and 232559 hashed calls in 340 = =0Atests=0AAverage of 485 static synchronized accesses and 683 hashed calls= per test=0A=0AAdded:=0A =0Aopenwebbeans/trunk/webbeans-impl/src/main/ja= va/org/apache/webbeans/annotation/AnnotationManager.java =0A (with props)= =0AModified:=0A =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org/ap= ache/webbeans/config/BeansDeployer.java=0A=0A =0Aopenwebbeans/trunk/webb= eans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java=0A= =0A =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbean= s/config/WebBeansContext.java=0A=0A =0Aopenwebbeans/trunk/webbeans-impl/= src/main/java/org/apache/webbeans/container/BeanManagerImpl.java=0A=0A = =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/conta= iner/ResolutionUtil.java=0A=0A =0Aopenwebbeans/trunk/webbeans-impl/src/m= ain/java/org/apache/webbeans/corespi/DefaultSingletonService.java=0A=0A = =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/deplo= yment/StereoTypeModel.java=0A=0A =0Aopenwebbeans/trunk/webbeans-impl/src= /main/java/org/apache/webbeans/deployment/XMLStereoTypeModel.java=0A=0A = =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event= /EventImpl.java=0A=0A =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/= org/apache/webbeans/event/EventUtil.java=0A=0A =0Aopenwebbeans/trunk/web= beans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java= =0A=0A =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webb= eans/event/ObserverMethodImpl.java=0A=0A =0Aopenwebbeans/trunk/webbeans-= impl/src/main/java/org/apache/webbeans/inject/AlternativesManager.java=0A= =0A =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbean= s/inject/OWBInjector.java=0A=0A =0Aopenwebbeans/trunk/webbeans-impl/src/= main/java/org/apache/webbeans/inject/impl/InjectionPointFactory.java=0A=0A = =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/in= ject/instance/InstanceImpl.java=0A=0A =0Aopenwebbeans/trunk/webbeans-imp= l/src/main/java/org/apache/webbeans/intercept/InterceptorUtil.java=0A=0A = =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inte= rcept/WebBeansInterceptorConfig.java=0A=0A =0Aopenwebbeans/trunk/webbean= s-impl/src/main/java/org/apache/webbeans/intercept/webbeans/WebBeansInterce= ptor.java=0A=0A =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org/ap= ache/webbeans/util/AnnotationUtil.java=0A=0A =0Aopenwebbeans/trunk/webbe= ans-impl/src/main/java/org/apache/webbeans/util/WebBeansAnnotatedTypeUtil.j= ava=0A=0A =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org/apache/w= ebbeans/util/WebBeansUtil.java=0A=0A =0Aopenwebbeans/trunk/webbeans-impl= /src/test/java/org/apache/webbeans/test/TestContext.java=0A=0A=0AAdded: =0A= openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/annotati= on/AnnotationManager.java=0A=0AURL: =0Ahttp://svn.apache.org/viewvc/openweb= beans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/annotation/Anno= tationManager.java?rev=3D1055805&view=3Dauto=0A=0A=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A--- =0Aopenw= ebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/annotation/An= notationManager.java=0A (added)=0A+++ =0Aopenwebbeans/trunk/webbeans-impl/s= rc/main/java/org/apache/webbeans/annotation/AnnotationManager.java=0A Thu J= an 6 09:35:31 2011=0A@@ -0,0 +1,457 @@=0A+/*=0A+ * Licensed to the Apache = Software Foundation (ASF) under one=0A+ * or more contributor license agree= ments. See the NOTICE file=0A+ * distributed with this work for additional = information=0A+ * regarding copyright ownership. The ASF licenses this file= =0A+ * to you under the Apache License, Version 2.0 (the=0A+ * "License"); = you may not use this file except in compliance=0A+ * with the License. You = may obtain a copy of the License at=0A+ *=0A+ * http://www.apache.org/licen= ses/LICENSE-2.0=0A+ *=0A+ * Unless required by applicable law or agreed to = in writing,=0A+ * software distributed under the License is distributed on = an=0A+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY=0A+ * KIND,= either express or implied. See the License for the=0A+ * specific language= governing permissions and limitations=0A+ * under the License.=0A+ */=0A+p= ackage org.apache.webbeans.annotation;=0A+=0A+import org.apache.webbeans.co= nfig.WebBeansContext;=0A+import org.apache.webbeans.container.BeanManagerIm= pl;=0A+import org.apache.webbeans.exception.WebBeansConfigurationException;= =0A+import org.apache.webbeans.util.AnnotationUtil;=0A+import org.apache.we= bbeans.util.ArrayUtil;=0A+import org.apache.webbeans.util.Asserts;=0A+impor= t org.apache.webbeans.util.SecurityUtil;=0A+import org.apache.webbeans.xml.= XMLAnnotationTypeManager;=0A+=0A+import javax.enterprise.inject.Stereotype;= =0A+import javax.enterprise.inject.spi.AnnotatedMethod;=0A+import javax.ent= erprise.inject.spi.AnnotatedParameter;=0A+import javax.enterprise.util.Nonb= inding;=0A+import javax.inject.Qualifier;=0A+import javax.interceptor.Inter= ceptorBinding;=0A+import java.lang.annotation.Annotation;=0A+import java.la= ng.reflect.Method;=0A+import java.util.ArrayList;=0A+import java.util.HashS= et;=0A+import java.util.List;=0A+import java.util.Set;=0A+=0A+/**=0A+ * Man= ages annotation usage by classes in this application.=0A+ */=0A+public fina= l class AnnotationManager=0A+{=0A+ public static final Annotation[] EMPT= Y_ANNOTATION_ARRAY =3D new =0AAnnotation[0];=0A+=0A+ public static final= Object[] EMPTY_OBJECT_ARRAY =3D new Object[0];=0A+=0A+ private final XM= LAnnotationTypeManager manager;=0A+=0A+ private final BeanManagerImpl be= anManagerImpl;=0A+=0A+ // No instantiate=0A+=0A+ public AnnotationMan= ager(WebBeansContext context)=0A+ {=0A+ manager =3D context.getxM= LAnnotationTypeManager();=0A+ beanManagerImpl =3D context.getBeanMan= agerImpl();=0A+ }=0A+=0A+=0A+ /**=0A+ * Returns true if the annot= ation is defined in xml or annotated with=0A+ * {@link javax.intercepto= r.InterceptorBinding} false otherwise.=0A+ *=0A+ * @param clazz typ= e of the annotation=0A+ * @return true if the annotation is defined in = xml or annotated with=0A+ * {@link javax.interceptor.Intercepto= rBinding} false otherwise=0A+ */=0A+ public boolean isInterceptorBin= dingAnnotation(Class<? extends Annotation> =0Aclazz)=0A+ {=0A+ As= serts.nullCheckForClass(clazz);=0A+ if (manager.hasInterceptorBindin= gType(clazz))=0A+ {=0A+ return true;=0A+ }=0A+ = else if (clazz.isAnnotationPresent(InterceptorBinding.class))=0A+ = {=0A+ return true;=0A+ }=0A+=0A+ return false;= =0A+ }=0A+=0A+ /**=0A+ * If any Annotations in the input is an in= terceptor binding annotation =0Atype then return=0A+ * true, false othe= rwise.=0A+ *=0A+ * @param anns array of Annotations to check=0A+ = * @return true if one or moe of the input annotations are an interceptor = =0Abinding annotation=0A+ * type false otherwise=0A+ */=0A+= public boolean hasInterceptorBindingMetaAnnotation(Annotation[] anns)= =0A+ {=0A+ Asserts.assertNotNull(anns, "anns parameter can not be= null");=0A+=0A+ for (Annotation ann : anns)=0A+ {=0A+ = if (isInterceptorBindingAnnotation(ann.annotationType()))=0A+ = {=0A+ return true;=0A+ }=0A+ else= =0A+ {=0A+ continue;=0A+ }=0A+ = }=0A+=0A+ return false;=0A+ }=0A+=0A+ /**=0A+ * Collect th= e interceptor bindings from an array of annotations, including=0A+ * tr= ansitively defined interceptor bindings.=0A+ * @param anns An array of = annotations=0A+ * @return an array of interceptor binding annotations, = including the input =0Aand any transitively declared annotations=0A+ */= =0A+ public Annotation[] getInterceptorBindingMetaAnnotations(Annotation= [] anns)=0A+ {=0A+ Asserts.assertNotNull(anns, "anns parameter ca= n not be null");=0A+ List<Annotation> interAnns =3D new ArrayList<An= notation>();=0A+=0A+ for (Annotation ann : anns)=0A+ {=0A+ = if (isInterceptorBindingAnnotation(ann.annotationType()))=0A+ = {=0A+ interAnns.add(ann);=0A+=0A+ //ch= eck for transitive=0A+ Annotation[] transitives =3D =0AgetTr= ansitiveInterceptorBindings(ann.annotationType().getDeclaredAnnotations());= =0A+=0A+ for(Annotation transitive : transitives)=0A+ = {=0A+ interAnns.add(transitive);=0A+ = }=0A+=0A+ }=0A+ }=0A+=0A+ Annotation[] ret = =3D new Annotation[interAnns.size()];=0A+ ret =3D interAnns.toArray(= ret);=0A+=0A+ return ret;=0A+ }=0A+=0A+ private Annotation[] g= etTransitiveInterceptorBindings(Annotation[] anns)=0A+ {=0A+ retu= rn getInterceptorBindingMetaAnnotations(anns);=0A+ }=0A+=0A+ /**=0A+ = * Returns true if the annotation is defined in xml or annotated with=0A= + * {@link javax.inject.Qualifier} false otherwise.=0A+ *=0A+ *= @param clazz type of the annotation=0A+ * @return true if the annotati= on is defined in xml or annotated with=0A+ * {@link javax.injec= t.Qualifier} false otherwise=0A+ */=0A+ public boolean isQualifierAn= notation(Class<? extends Annotation> clazz)=0A+ {=0A+ Asserts.nul= lCheckForClass(clazz);=0A+ if (manager.hasBindingType(clazz))=0A+ = {=0A+ return true;=0A+ }=0A+ else if (clazz.i= sAnnotationPresent(Qualifier.class))=0A+ {=0A+ return tru= e;=0A+ }=0A+ else if(beanManagerImpl.getAdditionalQualifiers(= ).contains(clazz))=0A+ {=0A+ return true;=0A+ }=0A= +=0A+ return false;=0A+ }=0A+=0A+ public <X> Annotation[] =0Ag= etAnnotatedMethodFirstParameterQualifierWithGivenAnnotation(=0A+ = AnnotatedMethod<X> annotatedMethod, Class<? extends Annotation> =0Aclazz)= =0A+ {=0A+ Asserts.assertNotNull(annotatedMethod, "annotatedMetho= d argument can =0Anot be null");=0A+ Asserts.nullCheckForClass(clazz= );=0A+=0A+ List<Annotation> list =3D new ArrayList<Annotation>();=0A= + List<AnnotatedParameter<X>> parameters =3D =0AannotatedMethod.getP= arameters();=0A+ for(AnnotatedParameter<X> parameter : parameters)= =0A+ {=0A+ if(parameter.isAnnotationPresent(clazz))=0A+ = {=0A+ Annotation[] anns =3D =0AAnnotationUtil.getA= nnotationsFromSet(parameter.getAnnotations());=0A+ for(Annot= ation ann : anns)=0A+ {=0A+ if(isQualifie= rAnnotation(ann.annotationType()))=0A+ {=0A+ = list.add(ann);=0A+ }=0A+ }=0A= + }=0A+ }=0A+=0A+ Annotation[] finalAnns =3D new A= nnotation[list.size()];=0A+ finalAnns =3D list.toArray(finalAnns);= =0A+=0A+ return finalAnns;=0A+ }=0A+=0A+=0A+ /**=0A+ * Get= s the method first found parameter qualifiers.=0A+ *=0A+ * @param m= ethod method=0A+ * @param clazz checking annotation=0A+ * @return a= nnotation array=0A+ */=0A+ public Annotation[] =0AgetMethodFirstPara= meterQualifierWithGivenAnnotation(Method method, Class<? =0Aextends Annotat= ion> clazz)=0A+ {=0A+ Asserts.assertNotNull(method, "Method argum= ent can not be null");=0A+ Asserts.nullCheckForClass(clazz);=0A+=0A+= Annotation[][] parameterAnns =3D method.getParameterAnnotations();= =0A+ List<Annotation> list =3D new ArrayList<Annotation>();=0A+ = Annotation[] result;=0A+=0A+ for (Annotation[] parameters : param= eterAnns)=0A+ {=0A+ boolean found =3D false;=0A+ = for (Annotation param : parameters)=0A+ {=0A+ = Class<? extends Annotation> btype =3D param.annotationType();=0A+ = if (btype.equals(clazz))=0A+ {=0A+ = found =3D true;=0A+ continue;=0A+ }=0A+= =0A+ if (isQualifierAnnotation(btype))=0A+ {= =0A+ list.add(param);=0A+ }=0A+=0A+ = }=0A+=0A+ if (found)=0A+ {=0A+ r= esult =3D new Annotation[list.size()];=0A+ result =3D list.t= oArray(result);=0A+ return result;=0A+ }=0A+ = }=0A+ result =3D new Annotation[0];=0A+ return result;=0A+= }=0A+=0A+ /**=0A+ * Gets the array of qualifier annotations on t= he given array.=0A+ *=0A+ * @param annotations annotation array=0A+= * @return array containing qualifier anns=0A+ */=0A+ public Ann= otation[] getQualifierAnnotations(Annotation... annotations)=0A+ {=0A+ = Asserts.assertNotNull(annotations, "Annotations argument can not be = =0Anull");=0A+=0A+ Set<Annotation> set =3D new HashSet<Annotation>()= ;=0A+=0A+ for (Annotation annot : annotations)=0A+ {=0A+ = if (isQualifierAnnotation(annot.annotationType()))=0A+ {= =0A+ set.add(annot);=0A+ }=0A+ }=0A+=0A+ = //Add the default qualifier if no others exist. Section 3.10, =0AOWB= -142///=0A+ if(set.size() =3D=3D 0)=0A+ {=0A+ set.= add(new DefaultLiteral());=0A+ }=0A+ =0A/////////////////////= ///////////////////////////////////////////////////=0A+=0A+ Annotati= on[] a =3D new Annotation[set.size()];=0A+ a =3D set.toArray(a);=0A+= =0A+ return a;=0A+ }=0A+=0A+=0A+ /**=0A+ * If the bean ext= ends generic class via Realizes=0A+ * annotation, realized based produc= er methods, fields and observer=0A+ * methods qualifier is=0A+ *=0A= + * <ul>=0A+ * <li>Qualifiers on the definitions</li>=0A+ * <= li>Plus class qualifiers</li>=0A+ * <li>Minus generic class qualifiers= </li>=0A+ * </ul>=0A+ *=0A+ * @param clazz realized definition = class=0A+ * @param anns binding annotations array=0A+ */=0A+ pub= lic Annotation[] getRealizesGenericAnnotations(Class<?> clazz, =0AAnnotatio= n[] anns)=0A+ {=0A+ Set<Annotation> setAnnots =3D new HashSet<Anno= tation>();=0A+=0A+ for(Annotation definedAnn : anns)=0A+ {=0A= + setAnnots.add(definedAnn);=0A+ }=0A+=0A+ Annotat= ion[] genericReliazesAnns =3D =0AgetQualifierAnnotations(clazz.getSuperclas= s().getDeclaredAnnotations());=0A+=0A+ for(Annotation generic : gene= ricReliazesAnns)=0A+ {=0A+ setAnnots.remove(generic);=0A+= }=0A+=0A+ genericReliazesAnns =3D =0AgetQualifierAnnotations= (clazz.getDeclaredAnnotations());=0A+=0A+ for(Annotation generic : g= enericReliazesAnns)=0A+ {=0A+ setAnnots.add(generic);=0A+= }=0A+=0A+ Annotation[] annots =3D new Annotation[setAnnots.s= ize()];=0A+ annots =3D setAnnots.toArray(annots);=0A+=0A+ ret= urn annots;=0A+ }=0A+=0A+ public void checkQualifierConditions(Annota= tion... qualifierAnnots)=0A+ {=0A+ Set<Annotation> annSet =3D Arr= ayUtil.asSet(qualifierAnnots);=0A+=0A+ //check for duplicate annotat= ions=0A+ if (qualifierAnnots.length !=3D annSet.size())=0A+ {= =0A+ throw new IllegalArgumentException("Qualifier annotations c= an not =0Acontain duplicate qualifiers:" + qualifierAnnots);=0A+ }= =0A+=0A+ checkQualifierConditions(annSet);=0A+ }=0A+=0A+ /**= =0A+ * This function obviously cannot check for duplicate annotations.= =0A+ * So this must have been done before!=0A+ * @param qualifierAn= nots=0A+ */=0A+ public void checkQualifierConditions(Set<Annotation>= qualifierAnnots)=0A+ {=0A+ for (Annotation ann : qualifierAnnots= )=0A+ {=0A+ checkQualifierConditions(ann);=0A+ }= =0A+ }=0A+=0A+ private void checkQualifierConditions(Annotation ann)= =0A+ {=0A+ Method[] methods =3D =0ASecurityUtil.doPrivilegedGetDe= claredMethods(ann.annotationType());=0A+=0A+ for (Method method : me= thods)=0A+ {=0A+ Class<?> clazz =3D method.getReturnType(= );=0A+ if (clazz.isArray() || clazz.isAnnotation())=0A+ = {=0A+ if =0A(!AnnotationUtil.hasAnnotation(method.getDecl= aredAnnotations(), =0ANonbinding.class))=0A+ {=0A+ = throw new WebBeansConfigurationException("@Qualifier : " + =0Aann= .annotationType().getName()=0A+ = + " must have =0A@NonBinding valued members for its array-= valued and annotation valued members");=0A+ }=0A+ = }=0A+ }=0A+=0A+ if (!isQualifierAnnotation(ann.annotationTyp= e()))=0A+ {=0A+ throw new IllegalArgumentException("Quali= fier annotations must be =0Aannotated with @Qualifier");=0A+ }=0A+ = }=0A+=0A+ /**=0A+ * Returns true if the annotation is defined in x= ml or annotated with=0A+ * {@link javax.enterprise.inject.Stereotype} f= alse otherwise.=0A+ *=0A+ * @param clazz type of the annotation=0A+= * @return true if the annotation is defined in xml or annotated with= =0A+ * {@link javax.enterprise.inject.Stereotype} false otherwi= se=0A+ */=0A+ public boolean isStereoTypeAnnotation(Class<? extends = Annotation> clazz)=0A+ {=0A+ Asserts.nullCheckForClass(clazz);=0A= + if (manager.hasStereoType(clazz))=0A+ {=0A+ retu= rn true;=0A+ }=0A+ else if (clazz.isAnnotationPresent(Stereot= ype.class))=0A+ {=0A+ return true;=0A+ }=0A+=0A+ = return false;=0A+ }=0A+=0A+ public boolean hasStereoTypeMetaAnn= otation(Annotation[] anns)=0A+ {=0A+ Asserts.assertNotNull(anns, = "anns parameter can not be null");=0A+=0A+ for (Annotation ann : ann= s)=0A+ {=0A+ if (isStereoTypeAnnotation(ann.annotationTyp= e()))=0A+ {=0A+ return true;=0A+ }=0A+= else=0A+ {=0A+ continue;=0A+ = }=0A+ }=0A+=0A+ return false;=0A+ }=0A+=0A+ public A= nnotation[] getStereotypeMetaAnnotations(Annotation[] anns)=0A+ {=0A+ = Asserts.assertNotNull(anns, "anns parameter can not be null");=0A+ = List<Annotation> interAnns =3D new ArrayList<Annotation>();=0A+=0A+ = for (Annotation ann : anns)=0A+ {=0A+ if (isStereoTyp= eAnnotation(ann.annotationType()))=0A+ {=0A+ inte= rAnns.add(ann);=0A+=0A+ //check for transitive=0A+ = Annotation[] transitives =3D =0AgetTransitiveStereoTypes(ann.annotati= onType().getDeclaredAnnotations());=0A+=0A+ for(Annotation t= ransitive : transitives)=0A+ {=0A+ interA= nns.add(transitive);=0A+ }=0A+ }=0A+ }=0A+= =0A+ Annotation[] ret =3D new Annotation[interAnns.size()];=0A+ = ret =3D interAnns.toArray(ret);=0A+=0A+ return ret;=0A+ }=0A+= =0A+ private Annotation[] getTransitiveStereoTypes(Annotation[] anns)=0A= + {=0A+ return getStereotypeMetaAnnotations(anns);=0A+ }=0A+= =0A+}=0A=0APropchange: =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/or= g/apache/webbeans/annotation/AnnotationManager.java=0A=0A------------------= ------------------------------------------------------------=0A svn:eol-= style =3D native=0A=0AModified: =0Aopenwebbeans/trunk/webbeans-impl/src/mai= n/java/org/apache/webbeans/config/BeansDeployer.java=0A=0AURL: =0Ahttp://sv= n.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apac= he/webbeans/config/BeansDeployer.java?rev=3D1055805&r1=3D1055804&r2=3D10558= 05&view=3Ddiff=0A=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A--- =0Aopenwebbeans/trunk/webbeans-impl/sr= c/main/java/org/apache/webbeans/config/BeansDeployer.java=0A (original)=0A+= ++ =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/co= nfig/BeansDeployer.java=0A Thu Jan 6 09:35:31 2011=0A@@ -39,6 +39,7 @@ imp= ort javax.enterprise.inject.spi.Injec=0Aimport javax.enterprise.inject.spi.= ProcessAnnotatedType;=0Aimport javax.interceptor.Interceptor;=0A=0A+import = org.apache.webbeans.annotation.AnnotationManager;=0Aimport org.apache.webbe= ans.component.AbstractInjectionTargetBean;=0Aimport org.apache.webbeans.com= ponent.AbstractProducerBean;=0Aimport org.apache.webbeans.component.Enterpr= iseBeanMarker;=0A@@ -729,6 +730,8 @@ public class BeansDeployer=0A = logger.debug("Checking StereoType constraints has started.");=0A=0A = addDefaultStereoTypes();=0A+=0A+ final AnnotationManager annotation= Manager =3D =0AWebBeansContext.getInstance().getAnnotationManager();=0A = =0A Set<Class<?>> beanClasses =3D scanner.getBeanClasses();=0A = if (beanClasses !=3D null && beanClasses.size() > 0)=0A@@ -737,8 +7= 40,8 @@ public class BeansDeployer=0A { =0A = if(beanClass.isAnnotation())=0A {=0A- = Class<? extends Annotation> stereoClass =3D (Class<? extends =0AA= nnotation>) beanClass; =0A=0A- if (An= notationUtil.isStereoTypeAnnotation(stereoClass))=0A+ Cl= ass<? extends Annotation> stereoClass =3D (Class<? extends =0AAnnotation>) = beanClass;=0A+ if (annotationManager.isStereoTypeAnnotat= ion(stereoClass))=0A {=0A if = =0A(!webBeansContext.getxMLAnnotationTypeManager().hasStereoType(stereoClas= s))=0A {=0A=0AModified: =0Aopenwebbeans/trunk/webbe= ans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java=0A=0A= URL: =0Ahttp://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/m= ain/java/org/apache/webbeans/config/DefinitionUtil.java?rev=3D1055805&r1=3D= 1055804&r2=3D1055805&view=3Ddiff=0A=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A--- =0Aopenwebbeans/trun= k/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.jav= a=0A (original)=0A+++ =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org= /apache/webbeans/config/DefinitionUtil.java=0A Thu Jan 6 09:35:31 2011=0A@= @ -50,6 +50,7 @@ import javax.inject.Inject;=0Aimport javax.inject.Named;= =0Aimport javax.inject.Scope;=0A=0A+import org.apache.webbeans.annotation.A= nnotationManager;=0Aimport org.apache.webbeans.annotation.AnyLiteral;=0Aimp= ort org.apache.webbeans.annotation.DefaultLiteral;=0Aimport org.apache.webb= eans.annotation.DependentScopeLiteral;=0A@@ -219,12 +220,14 @@ public final= class DefinitionUtil=0A */=0A public static <T> void defineQualif= iers(AbstractOwbBean<T> component, =0AAnnotation[] annotations)=0A {=0A= + final AnnotationManager annotationManager =3D =0AWebBeansContext.g= etInstance().getAnnotationManager();=0A+=0A boolean find =3D false;= =0A for (Annotation annotation : annotations)=0A {=0A = Class<? extends Annotation> type =3D annotation.annotationType();=0A= =0A- if (AnnotationUtil.isQualifierAnnotation(type))=0A+ = if (annotationManager.isQualifierAnnotation(type))=0A {=0A = Method[] methods =3D =0ASecurityUtil.doPrivilegedGetDeclare= dMethods(type);=0A=0A@@ -390,9 +393,11 @@ public final class DefinitionUtil= =0A=0A public static <T> void defineStereoTypes(OwbBean<?> component, A= nnotation[] =0Aanns)=0A {=0A- if (AnnotationUtil.hasStereoTypeMe= taAnnotation(anns))=0A+ final AnnotationManager annotationManager = =3D =0AWebBeansContext.getInstance().getAnnotationManager();=0A+ if = (annotationManager.hasStereoTypeMetaAnnotation(anns))=0A {=0A- = Annotation[] steroAnns =3D =0AAnnotationUtil.getStereotypeMetaAnnota= tions(anns);=0A+ Annotation[] steroAnns =3D=0A+ a= nnotationManager.getStereotypeMetaAnnotations(anns);=0A=0A for = (Annotation stereo : steroAnns)=0A {=0A@@ -761,6 +766,8 @@ publ= ic final class DefinitionUtil=0A=0A private static <T> void createDispo= salMethods(AbstractOwbBean<T> component, =0AMethod[] methods, Class<?> claz= z)=0A {=0A+ final AnnotationManager annotationManager =3D =0AWeb= BeansContext.getInstance().getAnnotationManager();=0A+=0A ProducerM= ethodBean<?> previous =3D null;=0A for (Method declaredMethod : met= hods)=0A {=0A@@ -768,7 +775,7 @@ public final class DefinitionUtil= =0A WebBeansUtil.checkProducerMethodDisposal(declaredMethod, = =0Aclazz.getName());=0A=0A Type type =3D =0AAnnotationUtil.getM= ethodFirstParameterWithAnnotation(declaredMethod, =0ADisposes.class);=0A- = Annotation[] annot =3D =0AAnnotationUtil.getMethodFirstParameterQ= ualifierWithGivenAnnotation(declaredMethod,=0A Disposes.class);=0A+ = Annotation[] annot =3D =0AannotationManager.getMethodFirstParameterQual= ifierWithGivenAnnotation(declaredMethod,=0A Disposes.class);=0A=0A=0A = Set<Bean<?>> set =3D =0AInjectionResolver.getInstance().implResolveB= yType(type, annot);=0A@@ -850,6 +857,8 @@ public final class DefinitionUtil= =0A public static <T> void =0AdefineInternalInjectedFields(AbstractInje= ctionTargetBean<T> component, Class<T> =0Aclazz, boolean fromSuperClazz)=0A= {=0A=0A+ final AnnotationManager annotationManager =3D =0AWebBe= ansContext.getInstance().getAnnotationManager();=0A+=0A Field[] fie= lds =3D SecurityUtil.doPrivilegedGetDeclaredFields(clazz);=0A=0A if= (fields.length !=3D 0)=0A@@ -879,7 +888,7 @@ public final class Definition= Util=0A throw new WebBeansConfigurationException("Injec= tion fields =0Acan not be annotated with @Produces");=0A }= =0A=0A- Annotation[] qualifierAnns =3D =0AAnnotationUtil.get= QualifierAnnotations(anns);=0A+ Annotation[] qualifierAnns = =3D =0AannotationManager.getQualifierAnnotations(anns);=0A=0A = if (qualifierAnns.length > 0)=0A {=0A=0AModified: =0Aope= nwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/WebB= eansContext.java=0A=0AURL: =0Ahttp://svn.apache.org/viewvc/openwebbeans/tru= nk/webbeans-impl/src/main/java/org/apache/webbeans/config/WebBeansContext.j= ava?rev=3D1055805&r1=3D1055804&r2=3D1055805&view=3Ddiff=0A=0A=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= --- =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/c= onfig/WebBeansContext.java=0A (original)=0A+++ =0Aopenwebbeans/trunk/webbea= ns-impl/src/main/java/org/apache/webbeans/config/WebBeansContext.java=0A Th= u Jan 6 09:35:31 2011=0A@@ -24,6 +24,7 @@ import java.util.HashMap;=0Aimpo= rt java.util.List;=0Aimport java.util.Map;=0A=0A+import org.apache.webbeans= .annotation.AnnotationManager;=0Aimport org.apache.webbeans.container.BeanM= anagerImpl;=0Aimport org.apache.webbeans.container.SerializableBeanVault;= =0Aimport org.apache.webbeans.context.creational.CreationalContextFactory;= =0A@@ -53,7 +54,7 @@ import org.apache.webbeans.xml.XMLSpecia=0Apublic clas= s WebBeansContext=0A{=0A=0A- private AlternativesManager alternativesMan= ager =3D new =0AAlternativesManager();=0A+ private AlternativesManager a= lternativesManager =3D new =0AAlternativesManager(this);=0A private Ann= otatedElementFactory annotatedElementFactory =3D new =0AAnnotatedElementFac= tory();=0A private BeanManagerImpl beanManagerImpl =3D new BeanManagerI= mpl(this);=0A private ConversationManager conversationManager =3D new = =0AConversationManager();=0A@@ -70,8 +71,9 @@ public class WebBeansContext= =0A private PluginLoader pluginLoader =3D new PluginLoader();=0A pr= ivate SerializableBeanVault serializableBeanVault =3D new =0ASerializableBe= anVault();=0A private StereoTypeManager stereoTypeManager =3D new Stere= oTypeManager();=0A- private WebBeansNameSpaceContainer webBeansNameSpace= Container =3D new =0AWebBeansNameSpaceContainer();=0A private XMLAnnota= tionTypeManager xmlAnnotationTypeManager =3D new =0AXMLAnnotationTypeManage= r(this);=0A+ private AnnotationManager annotationManager =3D new Annotat= ionManager(this);=0A+ private WebBeansNameSpaceContainer webBeansNameSpa= ceContainer =3D new =0AWebBeansNameSpaceContainer();=0A private XMLSpec= ializesManager xmlSpecializesManager =3D new =0AXMLSpecializesManager();=0A= =0A private final Map<String, Object> managerMap =3D new HashMap<String= , =0AObject>();=0A@@ -107,10 +109,10 @@ public class WebBeansContext=0A = }=0A=0A @Deprecated=0A- public static WebBeansContext getInstance()= =0A+ public static WebBeansContext getInstance()=0A {=0A We= bBeansContext webBeansContext =3D (WebBeansContext) =0AWebBeansFinder.getSi= ngletonInstance(WebBeansContext.class.getName());=0A- =0A+=0A = return webBeansContext;=0A }=0A=0A@@ -158,6 +160,11 @@ public class W= ebBeansContext=0A return (T) WebBeansFinder.getSingletonInstance(im= plName);=0A }=0A=0A+ public AnnotationManager getAnnotationManager()= =0A+ {=0A+ return annotationManager;=0A+ }=0A+=0A public C= onversationManager getConversationManager()=0A {=0A return conv= ersationManager;=0A@@ -260,14 +267,14 @@ public class WebBeansContext=0A=0A= public Object get(String singletonName)=0A {=0A-// util.Tra= ck.get(singletonName);=0A+ util.Track.get(singletonName);=0A = Object object =3D managerMap.get(singletonName);=0A=0A /* No singl= eton for this application, create one */=0A if (object =3D=3D null)= =0A {=0A object =3D createInstance(singletonName);=0A- = =0A+=0A //Save it=0A managerMap.put(sing= letonName, object);=0A }=0A=0AModified: =0Aopenwebbeans/trunk/webbe= ans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java= =0A=0AURL: =0Ahttp://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl= /src/main/java/org/apache/webbeans/container/BeanManagerImpl.java?rev=3D105= 5805&r1=3D1055804&r2=3D1055805&view=3Ddiff=0A=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A--- =0Aopenwebb= eans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanMa= nagerImpl.java=0A (original)=0A+++ =0Aopenwebbeans/trunk/webbeans-impl/src/= main/java/org/apache/webbeans/container/BeanManagerImpl.java=0A Thu Jan 6 = 09:35:31 2011=0A@@ -694,9 +694,9 @@ public class BeanManagerImpl implements= =0A {=0A throw new IllegalArgumentException("Exception= in getBeans method. =0ABean type can not be TypeVariable for bean type : "= + beanType);=0A }=0A- =0A- AnnotationUtil.checkQuali= fierConditions(bindings);=0A- =0A+=0A+ =0AWebBeansContext.get= Instance().getAnnotationManager().checkQualifierConditions(bindings);=0A=0A= +=0A return this.injectionResolver.implResolveByType(beanType, bind= ings);=0A =0A }=0A@@ -951,13 +951,13 @@ public class BeanManager= Impl implements =0A @Override=0A public boolean isQualifier(Class<?= extends Annotation> annotationType)=0A {=0A- return AnnotationU= til.isQualifierAnnotation(annotationType);=0A+ return =0AwebBeansCon= text.getAnnotationManager().isQualifierAnnotation(annotationType);=0A }= =0A=0A @Override=0A public boolean isInterceptorBinding(Class<? ext= ends Annotation> =0AannotationType)=0A {=0A- return AnnotationUt= il.isInterceptorBindingAnnotation(annotationType);=0A+ return =0Aweb= BeansContext.getAnnotationManager().isInterceptorBindingAnnotation(annotati= onType);=0A=0A }=0A=0A @Override=0A=0AModified: =0Aopenwebbeans/tru= nk/webbeans-impl/src/main/java/org/apache/webbeans/container/ResolutionUtil= .java=0A=0AURL: =0Ahttp://svn.apache.org/viewvc/openwebbeans/trunk/webbeans= -impl/src/main/java/org/apache/webbeans/container/ResolutionUtil.java?rev= =3D1055805&r1=3D1055804&r2=3D1055805&view=3Ddiff=0A=0A=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A--- =0Aop= enwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/= ResolutionUtil.java=0A (original)=0A+++ =0Aopenwebbeans/trunk/webbeans-impl= /src/main/java/org/apache/webbeans/container/ResolutionUtil.java=0A Thu Jan= 6 09:35:31 2011=0A@@ -27,7 +27,7 @@ import java.util.Set;=0Aimport javax.= enterprise.inject.spi.Bean;=0Aimport javax.enterprise.inject.spi.InjectionP= oint;=0A=0A-import org.apache.webbeans.util.AnnotationUtil;=0A+import org.a= pache.webbeans.config.WebBeansContext;=0Aimport org.apache.webbeans.util.As= serts;=0Aimport org.apache.webbeans.util.ClassUtil;=0Aimport org.apache.web= beans.util.WebBeansUtil;=0A@@ -81,7 +81,7 @@ public final class ResolutionU= til=0A=0A public static void getInstanceByTypeConditions(Annotation[] q= ualifiers)=0A {=0A- AnnotationUtil.checkQualifierConditions(qual= ifiers);=0A+ =0AWebBeansContext.getInstance().getAnnotationManager()= .checkQualifierConditions(qualifiers);=0A=0A }=0A=0A public static = void checkResolvedBeans(Set<Bean<?>> resolvedSet, Class<?> =0Atype, Annotat= ion[] qualifiers) =0A=0A=0AModified: =0Aopenwebbeans/trunk/webbeans-impl/sr= c/main/java/org/apache/webbeans/corespi/DefaultSingletonService.java=0A=0AU= RL: =0Ahttp://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/ma= in/java/org/apache/webbeans/corespi/DefaultSingletonService.java?rev=3D1055= 805&r1=3D1055804&r2=3D1055805&view=3Ddiff=0A=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A--- =0Aopenwebb= eans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/DefaultS= ingletonService.java=0A (original)=0A+++ =0Aopenwebbeans/trunk/webbeans-imp= l/src/main/java/org/apache/webbeans/corespi/DefaultSingletonService.java=0A= Thu Jan 6 09:35:31 2011=0A@@ -61,10 +61,10 @@ public class DefaultSinglet= onService imp=0A=0A synchronized (singletonMap)=0A {=0A-// = util.Track.sync(singletonName);=0A+ util.Track.sync(s= ingletonName);=0A =0A WebBeansContext managerMap =3D= singletonMap.get(classLoader);=0A-// util.Track.get(singletonNa= me);=0A+ util.Track.get(singletonName);=0A=0A if (ma= nagerMap =3D=3D null)=0A {=0A=0AModified: =0Aopenwebbeans/trunk= /webbeans-impl/src/main/java/org/apache/webbeans/deployment/StereoTypeModel= .java=0A=0AURL: =0Ahttp://svn.apache.org/viewvc/openwebbeans/trunk/webbeans= -impl/src/main/java/org/apache/webbeans/deployment/StereoTypeModel.java?rev= =3D1055805&r1=3D1055804&r2=3D1055805&view=3Ddiff=0A=0A=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A--- =0Aop= enwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/deployment= /StereoTypeModel.java=0A (original)=0A+++ =0Aopenwebbeans/trunk/webbeans-im= pl/src/main/java/org/apache/webbeans/deployment/StereoTypeModel.java=0A Thu= Jan 6 09:35:31 2011=0A@@ -30,7 +30,9 @@ import javax.enterprise.inject.Ty= ped;=0Aimport javax.inject.Named;=0Aimport javax.inject.Scope;=0A=0A+import= org.apache.webbeans.annotation.AnnotationManager;=0Aimport org.apache.webb= eans.config.OWBLogConst;=0A+import org.apache.webbeans.config.WebBeansConte= xt;=0Aimport org.apache.webbeans.deployment.stereotype.IStereoTypeModel;=0A= import org.apache.webbeans.exception.WebBeansConfigurationException;=0Aimpo= rt org.apache.webbeans.logger.WebBeansLogger;=0A@@ -88,8 +90,9 @@ public cl= ass StereoTypeModel implements =0A logger.warn(OWBLogConst.= WARN_0016, clazz.getName());=0A } =0A }=0A- = =0A- Annotation[] qualifiers =3D =0AAnnotationUtil.getQualifi= erAnnotations(annotations);=0A+=0A+ final AnnotationManager annotati= onManager =3D =0AWebBeansContext.getInstance().getAnnotationManager();=0A+ = Annotation[] qualifiers =3D =0AannotationManager.getQualifierAnnotat= ions(annotations);=0A =0A if(qualifiers !=3D null)=0A = {=0A@@ -119,19 +122,21 @@ public class StereoTypeModel implements =0A = {=0A this.defaultScopeType =3D =0AAnnotationUtil.getMetaAn= notations(annotations, Scope.class)[0];=0A }=0A- =0A- = if (AnnotationUtil.hasInterceptorBindingMetaAnnotation(annotations))=0A+= =0A+ if (annotationManager.hasInterceptorBindingMetaAnnotation(annot= ations))=0A {=0A- Annotation[] ibs =3D =0AAnnotationUtil= .getInterceptorBindingMetaAnnotations(annotations);=0A+ Annotati= on[] ibs =3D=0A+ =0AannotationManager.getInterceptorBindingM= etaAnnotations(annotations);=0A for (Annotation ann : ibs)=0A = {=0A this.interceptorBindingTypes.add(ann);=0A = }=0A }=0A=0A- if (AnnotationUtil.hasStereoTypeMet= aAnnotation(annotations))=0A+ if (annotationManager.hasStereoTypeMet= aAnnotation(annotations))=0A {=0A- Annotation[] isy =3D = =0AAnnotationUtil.getStereotypeMetaAnnotations(annotations);=0A+ = Annotation[] isy =3D=0A+ annotationManager.getStereotypeMet= aAnnotations(annotations);=0A=0A Target outerStereo =3D clazz.g= etAnnotation(Target.class);=0A for (Annotation is : isy)=0A=0AM= odified: =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbe= ans/deployment/XMLStereoTypeModel.java=0A=0AURL: =0Ahttp://svn.apache.org/v= iewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/de= ployment/XMLStereoTypeModel.java?rev=3D1055805&r1=3D1055804&r2=3D1055805&vi= ew=3Ddiff=0A=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=0A--- =0Aopenwebbeans/trunk/webbeans-impl/src/main= /java/org/apache/webbeans/deployment/XMLStereoTypeModel.java=0A (original)= =0A+++ =0Aopenwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbean= s/deployment/XMLStereoTypeModel.java=0A Thu Jan 6 09:35:31 2011=0A@@ -28,1= 1 +28,12 @@ import javax.enterprise.context.NormalSc=0Aimport javax.inject.= Named;=0Aimport javax.inject.Scope;=0A=0A+import org.apache.webbeans.annota= tion.AnnotationManager;=0A+import org.apache.webbeans.config.WebBeansContex= t;=0Aimport org.apache.webbeans.deployment.stereotype.IStereoTypeModel;=0Ai= mport org.apache.webbeans.exception.WebBeansConfigurationException;=0Aimpor= t org.apache.webbeans.exception.definition.NonexistentTypeException;=0Aimpo= rt org.apache.webbeans.proxy.JavassistProxyFactory;=0A-import org.apache.we= bbeans.util.AnnotationUtil;=0Aimport org.apache.webbeans.xml.XMLUtil;=0Aimp= ort org.w3c.dom.Element;=0Aimport org.w3c.dom.Node;=0A@@ -95,6 +96,7 @@ pub= lic class XMLStereoTypeModel implemen=0A annClazz =3D (Class<? = extends Annotation>) clazz;=0A Annotation defaultAnn =3D =0AJav= assistProxyFactory.createNewAnnotationProxy(annClazz);=0A=0A+ fi= nal AnnotationManager annotationManager =3D =0AWebBeansContext.getInstance(= ).getAnnotationManager();=0A if (clazz.isAnnotationPresent(Norm= alScope.class) || =0Aclazz.isAnnotationPresent(Scope.class))=0A = {=0A if (scopeTypeFound)=0A@@ -105,7 +107,7 @@ public clas= s XMLStereoTypeModel implemen=0A defaultScopeType =3D defau= ltAnn;=0A scopeTypeFound =3D true;=0A } = =0A- else if (AnnotationUtil.isInterceptorBindingAnnotat= ion(annClazz))=0A+ else if =0A(annotationManager.isInterceptorBi= ndingAnnotation(annClazz))=0A {=0A Target targe= t =3D clazz.getAnnotation(Target.class);=0A ElementType[] t=
{'source': 'Apache Software Foundation Public Mail Archives'}