You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by Mark Struberg <st...@yahoo.de> on 2009/01/19 13:07:16 UTC

WG: [TCK] Bean#create() reference in the Spec?

FYI: i sent this question today to the jboss list.
I'm forwarding it since this may take time until it hits the moderated list.

LieGrue,
strub


--- Mark Struberg <st...@yahoo.de> schrieb am Mo, 19.1.2009:

> Von: Mark Struberg <st...@yahoo.de>
> Betreff: [TCK] Bean<T>#create() reference in the Spec?
> An: webbeans-dev@lists.jboss.org
> Datum: Montag, 19. Januar 2009, 12:25
> Hi!
> 
> I tried to run the TCK tests, e.g.
> DependentContextTest#testContextIsActiveDuringBeanCreation()
> and have a question regarding the call
> FoxRun foxRun = foxRunBean.create();
> 
> I read through the Spec dated 20090116 and I cannot find
> any create() with no argument for a Bean<T>. 
> 
> Section 
> > 3.11. The Bean object for a bean 
> references to
> > 6.1. The Contextual interface
> > public interface Contextual<T> {
> >     public T create(CreationalContext<T>
> creationalContext);
> >     public void destroy(T instance);
> > }
> 
> and there is no non-arg create() function but only one with
> a CreationalContext. Otoh you reference the
> Contextual.create() a few times in section 6.2. I
> interpreted this as short form for the method with
> CreationalContext but after I read the TCK I'm slightly
> confused.
> 
> Am I missing something?
> 
> txs and LieGrue,
> strub


      

Re: WG: [TCK] Bean#create() reference in the Spec?

Posted by Gurkan Erdogdu <gu...@yahoo.com>.
Bean creation seems to be changed and is reflected in the latest specification. I think that this changes may not supported in the TCK and its dependent RI.

/Gurkan




________________________________
From: Mark Struberg <st...@yahoo.de>
To: openwebbeans-dev@incubator.apache.org
Sent: Monday, January 19, 2009 2:07:16 PM
Subject: WG: [TCK] Bean<T>#create() reference in the Spec?

FYI: i sent this question today to the jboss list.
I'm forwarding it since this may take time until it hits the moderated list.

LieGrue,
strub


--- Mark Struberg <st...@yahoo.de> schrieb am Mo, 19.1.2009:

> Von: Mark Struberg <st...@yahoo.de>
> Betreff: [TCK] Bean<T>#create() reference in the Spec?
> An: webbeans-dev@lists.jboss.org
> Datum: Montag, 19. Januar 2009, 12:25
> Hi!
> 
> I tried to run the TCK tests, e.g.
> DependentContextTest#testContextIsActiveDuringBeanCreation()
> and have a question regarding the call
> FoxRun foxRun = foxRunBean.create();
> 
> I read through the Spec dated 20090116 and I cannot find
> any create() with no argument for a Bean<T>. 
> 
> Section 
> > 3.11. The Bean object for a bean 
> references to
> > 6.1. The Contextual interface
> > public interface Contextual<T> {
> >     public T create(CreationalContext<T>
> creationalContext);
> >     public void destroy(T instance);
> > }
> 
> and there is no non-arg create() function but only one with
> a CreationalContext. Otoh you reference the
> Contextual.create() a few times in section 6.2. I
> interpreted this as short form for the method with
> CreationalContext but after I read the TCK I'm slightly
> confused.
> 
> Am I missing something?
> 
> txs and LieGrue,
> strub