hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hensley, Richard" <>
Subject RE: Non-interface beans
Date Tue, 10 May 2005 18:45:54 GMT

I ran into a similar problem with the fact that Bean Services must have a
public no argument constructor. I worked around my issue by using the
"primitive" model, which just creates the bean. Maybe this could work for
you and avoid this whole issue. As I recall, bean services were a reluctant
feature added by Howard. I believe the reason he was reluctant is because of
all the issues surrounding figuring out a good interface so that Hivemind is
happy. I really do not think that hivemind should be changing the model on
the user, I think it should error out so the user can make a proper
determination and configuration.


-----Original Message-----
From: Brian K. Wallace [] 
Sent: Tuesday, May 10, 2005 11:25 AM
Subject: Non-interface beans

Hash: SHA1

~  I've documented this in HIVEMIND-120, but wanted to post this here as
it appears it is a more fundamental problem than I first saw. At
present, Hivemind allows me to declare a class as the interface. It then
proceeds to create the proxies around it and I can use it normally both
in configuration and code.

~  The problem arises when the class (or any of its superclasses)
implements a "public final" method. The proxy creation fails due to the
attempt to override a final method, and a quick look at returning simply
the class, thereby avoiding the proxy issue, causes problems elsewhere
that expect it to have proxy methods. It would be ideal for the proxy to
be attempted (unless it were possible to declare it in the configuration
to be 'real' all the time), but failing that for the reason above just
create the bean. I'm just not sure where this change would impact to
avoid problems with missing methods expected to be in the proxy.

~  If there is another methodology for doing the same thing with all
beans (to include those that have final methods), I'd love to hear it.
Version: GnuPG v1.2.5 (MingW32)


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message