Yes, it is. Just use @SpringBean.
On Wed, Feb 23, 2011 at 4:25 PM, James Carman <[email protected]> wrote: > On Wed, Feb 23, 2011 at 8:56 AM, tetsuo <[email protected]> wrote: >> Since Spring 3.0, scoped proxies are Serializable. So, it's perfectly >> possible to use @Configurable, @Autowired, and lots of AspectJ magic, >> for Pages and Components, instead of wicket-spring/@SpringBean. >> >> Provided, of course, that all beans you inject into Components are >> scope-proxied (<aop:scoped-proxy/> or @Scope(value = "singleton", >> proxyMode = ScopedProxyMode.INTERFACES)). >> > > That's a pretty big gotcha, IMHO. >
