hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hensley, Richard" <>
Subject Blending HiveMind Services and POJO's
Date Wed, 20 Oct 2004 21:03:58 GMT
I have an authenticate hivemind service. The job of that service is to
return an implementation of the User interface.

The User implementation is not a hivemind object, it is a POJO. The User
implementation requires another hivemind service to return a list of
values when requested. This is all easy up to this point because the
authenticate method can inject the required services into the User
implementation at construction time. Now comes the problem. The User
implementation is Serializable, references to services are transient
properties of the User implementation, so how does the User implementation
reacquire references to the services after being serialized and

Right now I have basically implemented static global access to the hivemind

Is there a better way?


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

View raw message