geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder" <ammul...@alumni.princeton.edu>
Subject Re: GBeans start order
Date Tue, 30 May 2006 14:20:08 GMT
Oops, I think David was right, and there's no "pattern" element, just
dependency and name.

Thanks,
    Aaron

On 5/30/06, Aaron Mulder <ammulder@alumni.princeton.edu> wrote:
> A gbean element can declare a dependency on another GBean.  I'm not
> sure this forces the other one to start first, but I'd try it:
>
> <gbean name="bean1" class="...">...</gbean>
> <gbean name="bean2" class="...">
>   <dependency>
>     <pattern>
>       <name>bean1</name>
>     </pattern>
>   </dependency>
> </gbean>
>
> Thanks,
>     Aaron
>
> On 5/30/06, Krishnakumar B <www.bkk@gmail.com> wrote:
> > Hi,
> >
> > How can i ensure GBean2 always starts after GBean1 if they are part of
> > same plan?
> >
> > Regards
> > Krishnakumar.
> >
>

Mime
View raw message