Olaf Bergner wrote:
-----Original Message----- From: Stephen McConnell [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 7:32 PM
Does that component type declare that it exports the service .. ie:
@avalon.service type="whatever.Sample"
From samples.SampleComponent:
/** * @avalon.component version="1.0" name="sample" lifestyle="singleton" * @avalon.service type="samples.Sample" */ public class SampleComponent implements Sample, LogEnabled, Initializable, Executable, Disposable
Based on what you describe below - then a locate on
"/org.merlinaop.samples/sample" will return the appliance managing
SampleComponent. You can invoke resolve() against this appliance and you
should get a proxy that is narrowable to the Sample interface.
I was thinking likewise, and since my debugging output
INFO 2003-12-19 18:39:33.990 [main ] (): Resolved appliance: [EMAIL PROTECTED] Type: $Proxy3
strongly hints at my component being proxied I am the more confused by the problem at hand. Well, seems like I have to dig a little deeper.
Anyways: thanks for your help,
Olaf:
Just a quick followup - did you manage to resolve the problem?
Stephen.
Olaf
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Stephen J. McConnell mailto:[EMAIL PROTECTED]
|------------------------------------------------| | Magic by Merlin | | Production by Avalon | | | | http://avalon.apache.org/merlin | | http://dpml.net/ | |------------------------------------------------|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
