in non component you can inject by
Injector.get().inject(this) in constructor

On Thu, Nov 17, 2011 at 7:34 PM, bilgisever <[email protected]> wrote:
> Hello,
> I am trying to integrate BIRT into Spring-Wicket combo.
> *The case:*
> So far, I wrote a class that instantiates report engine and added spring
> annotations. I already have
> /<context:component-scan base-package="blah.blah.andmoreblah" />/
> in bean definition file. Now I can access it via @SpringBean annotation in
> panels-webpages etc... but
> *The Intent:*
> I have some classes (that extends ByteArrayResource) that simply configures
> the report engine to produce desired report.
> *The Problem:*
> On the other hand in the class that extends ByteArrayResource the
> @SpringBean annotated instance comes *null*.
>
> Any insights?
>
> -----
> www.mehmetatas.info
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/SpringBean-scope-where-does-it-start-end-tp4080069p4080069.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
thank you,

regards,
Vineet Semwal

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to