An eagerly loaded build-method works beautifully! Thank you so much!
On Sat, Aug 22, 2009 at 10:56 AM, Christian Edward Gruber<christianedwardgru...@gmail.com> wrote: > Yeah, doing work inside a constructor isn't really a good way to go, in > general. It makes things very hard to test. > > I can't remember, however - is there any lifecycle management in T5-ioc? > Can you mark something as an initialization method, so that before it's > presented to a calling class, it's initialized? > > Christian. > > On 2009-08-21, at 18:25 , Juan E. Maya wrote: > >> U could also start the service by marking as eager or if that's not >> what u want u could use constructor injection and run the method >> inside of the constructor. >> >> >> On Sat, Aug 22, 2009 at 12:12 AM, Joshua Martin<josmar52...@gmail.com> >> wrote: >>> >>> Is there a way to automatically run a method in a Service Impl right >>> after the service has been bound? >>> >>> As in, my service implementation is providing a service that I'd like >>> to be automatically available when the application starts. I don't >>> want the user to have to go click a button just to get the method to >>> run, and therefore the service to start. >>> >>> -- >>> _________________________________ >>> >>> Joshua S. Martin >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> > > Christian Edward Gruber > e-mail: christianedwardgru...@gmail.com > weblog: http://www.geekinasuit.com/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- _________________________________ Joshua S. Martin CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney client or other legal privileges, and or proprietary non public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org