I need some advice. I would like to add a soap webservice to James which
I can use to query the spool and other repositories (like the error) and
make it possible to respool certain messages.

I therefore need to have access to the Store instance which I retrieve
from the ServiceManager. Afaik it's not possible to get an instance of
the (global) ServiceManager (there isn't probably any) so I was
wondering whether I can store the ServiceManager instance that gets set
when Serviceable#service is called. I already have my own James service
which I use to initialize some server wide registries (Spring registry
etc.) and register some (cxf) soap services and I can make this service
a Serviceable service and store the ServiceManager upon load.

Is this possible or ar there better ways to get a reference to the Store
(and other James services)?

Thanks,

Martijn Brinkers




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to