El Lun 09 May 2005 17:01, Viktor Szathmary escribi�: > hi, > > how can a hivemind-managed object refer to it's "real self"? for > example, if I need to know the service ID, or want to be able to pass > the proxied instance from the service itself to another object...
For knowing the service-id just use a constructor parameter or make your service implementation class implement a setServiceId(String id), then hivemind can inject it. For passing around the proxy... your really shouln't be needing to do such a thing... how come? :-) > > btw, i have briefly tried beta-1 (instead of alpha-3), and it seems > service serialization broke - it keeps complaining about "instance not > created in this VM".. since i didnt have time to focus on this, i just > rolled back to alpha-3... Maybe you aren't calling registry.setupThread() before using deserialization on a given thread? -- Pablo I. Lalloni <[EMAIL PROTECTED]> Tel�fono +54 (11) 4347-3177 Proyecto Pampa Direcci�n Inform�tica Tributaria AFIP ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Nudists are people who wear one-button suits. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
