dev@javaserverfaces.java.net

Re: PostConstruct/PreDestroy

From: <jacob_at_hookom.net>
Date: Tue, 17 Jan 2006 17:08:03 -0500

What lists? The enumeration lists that Ryan came up with? This email was sent before Ryan had come up with the (better) solution to original dependency issue on JEE 5.

>
>>>>>> On Fri, 13 Jan 2006 12:19:38 -0500, jacob_at_hookom.net said:
>
>JH> Maybe I'm confused-- but there was the injection manager, then there
>JH> was the PostConstruct/PreDestroy code within the bean
>JH> manager/ApplicationAssociate, maybe I've been looking at the wrong
>JH> version.
>JH>
>https://javaserverfaces-sources.dev.java.net/source/browse/javaserverfaces-sour
>ces/jsf-ri/src/com/sun/faces/application/ApplicationAssociate.java?rev=1.24&vie
>w=markup
>
>JH> The 'handlePostConstruct' method... would simply involve a static
>JH> check for the existence of
>JH> Class.forName("javax.annotation.PostConstruct")
>
>Why bother with the reflection check when the lists will simply be empty
>in the case when there is no injection manager?
>
>Ed
>
>
>--
>| ed.burns_at_sun.com | {home: 407 869 9587, office: 408 884 9519 OR x31640}
>| homepage: | http://purl.oclc.org/NET/edburns/
>| aim: edburns0sunw | iim: ed.burns_at_sun.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
>For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
>