Hi Mark,
Take a look at 11.6
"• every context object belonging to the parent activity also belongs
to the child activity. "
Which answers the question about getContext().
The TCK makes no assumptions about how addContext() works on a child
activity - as the spec doesn't say, so I assume it is undefined.
Best
On 23 Apr 2009, at 17:58, Mark Struberg wrote:
Hi!
So far as I've seen the Spec says nothing about how the 2 functions
> public Context getContext(Class<? extends Annotation> scopeType);
> public Manager addContext(Context context);
should work for child activity Managers defined in section 11.6
> From
> ActivitiesTest#testContextObjectBelongingToParentBelongsToChild it
> seems that this should work somehow. But I fear the not clear
> enough yet. Are there some clashing rules we have to consider like
> we have for e.g addBeans?
txs and LieGrue,
strub
_______________________________________________
webbeans-dev mailing list
webbeans-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/webbeans-dev
--
Pete Muir
http://www.seamframework.org
http://in.relation.to/Bloggers/Pete