On 1/23/06, Knut Wannheden <[EMAIL PROTECTED]> wrote:
> Sounds interesting!
Good.
> I think you should be able to just specify Object.class as the service
> interface to Registry#getService(String, Class). That should always
> work.
Well i got a this service:
<?xml version="1.0" encoding="UTF-8"?>
<module id="importer" package="main.tool.importer" version="2.2.0">
<service-point id="Importer" interface="IImporter">
<invoke-factory>
<construct class="ImporterImpl"/>
</invoke-factory>
<interceptor service-id="hivemind.LoggingInterceptor" />
</service-point>
</module>
Where the class main.tool.importer.ImporterImpl implements the
interface main.tool.importer.IImporter declared as service id
importer.Importer.
I could retreive the service from hivemind as
Register.getService("importer.Importer", IImporter.class);
but from within mule i know only the service, so only
importer.Importer, so from importer.Importer, i say this cause i don't
want (and probably cannot) modify too much the way mule handle
different containers
Did i miss something?
Regards
--
Massimo
http://meridio.blogspot.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]