[Resin-interest] CanDI Startup pattern question

2011-03-17 Thread Keith Fetterman
I need some help understanding how CanDI works with the Startup pattern mentioned in the following tutorial on Caucho's Web site. http://caucho.com/resin-4.0/examples/ioc-binding/index.xtp#Startup%20Pattern Here is what the tutorial says: Startup Pattern The |@Startup| annotation marks a

Re: [Resin-interest] CanDI Startup pattern question

2011-03-17 Thread Scott Ferguson
On 03/17/2011 10:36 AM, Keith Fetterman wrote: I need some help understanding how CanDI works with the Startup pattern mentioned in the following tutorial on Caucho's Web site. I have added the two annotations @Startup and @PostConstruct to the class that I want to load at server initializatio

Re: [Resin-interest] CanDI Startup pattern question

2011-03-17 Thread Keith Fetterman
Hi Scott, How do you configure services using CanDI at the host level and have them loaded before the Web applications are loaded? Our Web site is currently running on resin 3.0.28. Our Web site runs several Web applications, and we have custom resources that are shared across all Web appli

Re: [Resin-interest] CanDI Startup pattern question

2011-03-17 Thread Scott Ferguson
On 03/17/2011 03:04 PM, Keith Fetterman wrote: Hi Scott, How do you configure services using CanDI at the host level and have them loaded before the Web applications are loaded? Our Web site is currently running on resin 3.0.28. Our Web site runs several Web applications, and we have custom

Re: [Resin-interest] CanDI Startup pattern question

2011-03-17 Thread Keith Fetterman
Hi Scott, You rock!! Its works!!! I can see my service startup at the host level prior to the web applications loading. Thanks a lot. Keith On 03/17/2011 03:29 PM, Scott Ferguson wrote: On 03/17/2011 03:04 PM, Keith Fetterman wrote: Hi Scott, How do you configure services using CanDI at