> [X] +1 (YES) ( keesj) > I suggest we also add a method > public Cloud getCloud(String name, org.mmbase.security.UserContext user) > throws NotFoundException;
Yes.. > Taglib can store the UserContext in the session then rather the entire Cloud > object, and use this new method to recreate a cloud. UserContext object are > probably easier to make serializable, which would give a way to solve: > > #6652 Open Bug Medium 1.7.x Core cloud not serializable > in Tomcat 5 >replication mode It will at least solve the error message :) > > RMMCI > ----- > > The changes I had to make to get the above working are very simple. Only > fixing RMMCI was a bit more difficult. The issue was mainly in the 'Rank' > object which is not an interface. > > I made Rank Serializable and adapted RMMCI to be able to deal with non > interface mmbase classes. This worked fine. I think this is fair > I think it is defendable to use non-interfaces in the bridge, when these are > simple containers like Rank, which are never extended, and do not contain > functionality. It is fine to extend functionality as long as there is an corresponding interface (NodeManager extende Node) I would like to make it possible to return nodes that extend the bridge Node interface. of perhaps just extend from an other interface _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
