hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Francois Poilpret" <>
Subject RE: Lightweight Instance Initialization
Date Sat, 28 Apr 2007 02:56:31 GMT
Hello Clive,

If the problem cannot be solved I would suggest you take a look at HiveMind
Utilities project: in the hiveutils module, there is the "ObjectBuilder"
service that enables you to create (through configuration in hivemodule.xml)
any POJO (no need for interface, no limit on kind of POJO). The only
difference with HiveMind for POJO is that it does not allow you to set
interceptors (I use it mainly for "small" POJOs in my GUIs).



-----Original Message-----
From: walmsul [] 
Sent: Saturday, April 28, 2007 4:35 AM
Subject: Re: Lightweight Instance Initialization


Has anyone reached a conclusion to this?  I'm having the same issue using
hivemind 1.1.1.

It works fine if I don't specify the property, but as soon as I do I get the
same error as Hugo.  So I know the classpath is fine.  I know I'm missing
something, and I'd appreciate any help at all.

Here is the code.

My class:
public class Monkey {
    private String limb;
    public Monkey() {
    public void setLimb(String s) { this.limb = s; }
    public String getLimb() { return this.limb; }

hivemodule.xml create-instance node (works): 
<create-instance class="com.novantas.xml.Monkey"/>

hivemodule.xml create-instance node (doesn't work): 
<create-instance class="com.novantas.xml.Monkey,limb=leg"/>

I have even tried putting 'limb' as a constructor argument to no avail.
Many Thanks


Hugo Palma wrote:
> I checked and i'm very sure i'm using hivemind-1.1-beta1 and 
> hivemind-lib-1.1-beta1.
> Can you point out where in the source is this feature implemented so 
> that i can make sure that i have the correct version ?
> Thanks
> Hugo
> Howard Lewis Ship wrote:
>> That should be working for you; please double check your classpath,
>> make sure you have the right version of the JARs.  I just checked the
>> code and it should absolutely work for <create-instance>.
>> On 6/1/05, Hugo Palma <> wrote:
>>>Is beta-1 supposed to have the lightweight instance initialization
>>>feature implemented as described in
>>> ?
>>>I'm asking because i want to use it but i get an error that indicates
>>>that the class name parse isn't being donne correctly. I've tried
>>>looking in the source files and couldn't find any code that would
>>>implement this feature.
>>>If it's not implemented, any predictions for when it will be ?
>>>To unsubscribe, e-mail:
>>>For additional commands, e-mail:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Hivemind - User mailing list archive at


Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.

View raw message