deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arne Limburg <arne.limb...@openknowledge.de>
Subject Re: where to put all the Context util helpers?
Date Fri, 28 Sep 2012 08:49:45 GMT
Hi Mark, all,

Do we need a third module spi for this?

Cheers,
Arne


Am 28.09.12 10:38 schrieb "Mark Struberg" unter <struberg@yahoo.de>:

>Hi folks!
>
>see DELTASPIKE-274 [1]
>
>Where should I put those helpers?
>
>Is it a good fit for core-api? e.g. in a
>org.apache.deltaspike.core.api.util.context package
>Or should I place it in core-impl?
>
>What it will contain:
>
>* ContextualBeanBag: contains the CreationalContext<T>, the Contextual<T>
>and the instance T which can be stored in a Map.
> The ContextualBeanBag is Serializable and will automatically try to get
>the passivation
>
>* AbstractContext which contains the logic for
> # destroy(Contextual)
> # destroyAll() (needed at the end of a contexts lifecycle)
> # all the creation logic
>
>wdyt? where to put it?
>
>LieGrue,
>strub
>
>[1] https://issues.apache.org/jira/browse/DELTASPIKE-274


Mime
View raw message