Well, TCF should not have a lifecycle (stateless). Actually its just there to obtain instances that have lifecycles (TetsContainers). Sure, you can slap lifecycles onto it, specially with more complex containers and possibly different containers obtained from TCF in one session in near future its good to rethink the parts of the system and introduce meaningful lifecycles.
On Fri, Jan 13, 2012 at 9:07 AM, Sanjeeb Sahoo <www.sa...@gmail.com> wrote: > There does not seem to be any way to dispose TestContainerFactory created > by the exam runtime. I think having a dispose() in TCF will help cleaning > up resources created by a TCF. What do others think? In fact, the life > cycle of TCF is not that well specified. > > Thanks, > Sahoo > > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general > > -- Toni Menzel Source <http://tonimenzel.com>
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general