calling an arbitrary method via Spring ?
Cantor, Scott
cantor.2 at osu.edu
Tue Apr 30 11:53:27 EDT 2013
On 4/30/13 11:24 AM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:
>Anyone know if it is reasonable to call a non-constructor non-property
>method via Spring ?
>
>I was looking at using Spring to configure Jetty, but realized I was
>unable to duplicate the default Jetty configuration via Spring because
>I do not know how to call Server.addLifeCycleListener().
They don't expose some kind of collection for that?
>I was hoping to avoid anything too fancy with Spring.
I think if you need to set up objects with more advanced calls, you
probably are meant to use a BeanFactory instead of just returning the bean
directly.
-- Scott
More information about the dev
mailing list