heh, this is simply inverting the logic.
I choosed the version which needs less code.

Please make sure that most of our 'special' beans MUST return false!
E.g. BeanManagerImpl, ConversationBeanImpl, ResourceBean , etc because they are 
_not_ dependent beans in the sense of 6.4.

LieGrue,
strub

--- Gurkan Erdogdu <[email protected]> schrieb am Mo, 22.2.2010:

> Von: Gurkan Erdogdu <[email protected]>
> Betreff: Re: AW: Recent Commits
> An: [email protected]
> Datum: Montag, 22. Februar, 2010 18:04 Uhr
> >>>Hmm, where do I do that?
> ConversatioBean constructor.
> 
> 
> >>>Maybe I overlooked something in the Bean
> hierarchy which
> OwbBean --> AbstractOwbBean
> AbstractOwnBean --> AbstractInjectionTargetBean (base
> class for beans that supports interceptor, decorators etc. )
> and AbstractProducerBean (for producers)
> 
> This seems not so complicated :) If this methods supports
> for Producers and InjectionTargets, it must be implemented
> in AbstractOwbBean. Not implemented in every bean class such
> as ManagedBean, ProducerMethodBean etc.
> 
> --Gurkan
> 
> 
> 
> ________________________________
> From: Mark Struberg <[email protected]>
> To: [email protected]
> Sent: Mon, February 22, 2010 6:33:59 PM
> Subject: AW: Recent Commits
> 
> > 2* You set ApplicationScopedLiteral to
> ConversationBean
> >   This is not true, ConversationBean
> scope must be
> > RequestScoped.
> Hmm, where do I do that? I remember that I changed the
> logic to handle ConversationScoped beans NOT as Dependent
> beans. In which source is this?
> 
> 
> > 3* You add "isDependent" to OwbBean but you do not
> > implement this in
> > AbstractInjectionTarget, ProducerFieldBean, EJBean
> etc.
> 
> Should be implemented in AbstractOwbBean as default
> implementation returning false and in AbstractProducerbean,
> ManagedBean,... to look at the @Dependent scopeType. Maybe I
> overlooked something in the Bean hierarchy which grow pretty
> big recently.
> 
> txs and LieGrue,
> strub
> 
> 
> --- Gurkan Erdogdu <[email protected]>
> schrieb am Mo, 22.2.2010:
> 
> > Von: Gurkan Erdogdu <[email protected]>
> > Betreff: Recent Commits
> > An: [email protected]
> > Datum: Montag, 22. Februar, 2010 16:56 Uhr
> > Hi Mark;
> > 
> > You have committed some code over weekend related
> with
> > serialization etc. I
> > have skimmed over  some changes. My observations
> are:
> > 
> > 1* You treat all beans as passivation capable and
> saving
> > info (Changinb
> > BeanManagerImpl)
> >     I think that this is wrong.
> You said said in
> > commit comment :
> > 
> > This is needed since we also need to serialise proxies
> of
> > NormalScoped
> > > Beans which are not passivating. Imagine an
> > @ApplicationScoped userService
> > > gets injected into a @ViewScoped ListModel.
> > >
> > > But spec. does not allows this. If you have a
> > passivating capable and it
> > contains not passivating capable dependency you have
> to
> > throw exception.
> > (Section 6.6.4)
> > 
> > 2* You set ApplicationScopedLiteral to
> ConversationBean
> >   This is not true, ConversationBean
> scope must be
> > RequestScoped.
> > 
> > 3* You add "isDependent" to OwbBean but you do not
> > implement this in
> > AbstractInjectionTarget, ProducerFieldBean, EJBean
> etc.
> > 
> > Thanks;
> > 
> > --Gurkan
> > 
> 
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen
> herausragenden Schutz gegen Massenmails. 
> http://mail.yahoo.com
> 
> 
> 
>      
> ___________________________________________________________________
> Yahoo! Türkiye açıldı!  http://yahoo.com.tr
> İnternet üzerindeki en iyi içeriği Yahoo! Türkiye
> sizlere sunuyor!

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com

Reply via email to