What you could do, is define your own classes as Hivemind services in
their own right in your hivemind.xml, and then you can inject anything
into them - including Spring beans if you have the Spring hookup
configured already.
Richard
Henri Dupre wrote:
I tried to figure out how I could possibly inject stuff into my own
classes but I can't figure it out. I asked that question in the
mailing list but got no answers. That far I did some messy code where
the page and the components are passing the references to my own
classes.
Henri.
On 7/22/05, Serge Eby <[EMAIL PROTECTED]> wrote:
Hi,
What's the best practice for accessing Spring beans
from classes other than pages and components?
These beans were successfully injected in the page.
TIA.
--
Serge
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]