> > How would you get at such a service?  What would your code cast it
> > to?  It couldn't be the bean's actual class, because it would
> > probably be a proxy or interceptor.  But the interface is not
> > accessible at compile time.
> > 
> > I think the framework could support it, but I don't think it would
> > be usable in real life.
> 
> 
> Very true!  I guess this needs more work ... or have to create a
> "delegating zombie" subclass for the outermost proxy.

Why not allowing service implementations which do not implement the service
interface. The implementation of the service interface is provided by
hivemind, supposing similar method signatures.

In this case it would be possible to use arbitrary beans in Hivemind. For
every bean it would only be necessary to provide an interface containing the
bean methods to be accessed.

Holger Krug

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

Reply via email to