Nico Klasens <[EMAIL PROTECTED]> wrote:
> interface CloudInterface {
> getRelatedNodes(NodeManager n);
> getNodeManager(String name);
> }
>
> class BasicCloud implements CloudInterface {
..
> }
> }
>
> class Cloud implements CloudInterface {
> CloudInterface cloud
>
...
> getRelatedNodes(String name) {
> NodeManager n = getNodeManager(name);
> getRelatedNodes(n);
> }
> }
This would be an option, but I think we are now heading for another
direction, where the 'bridge' interfaces are a bit bloated with methods
which are actually redundant.
For the core interfaces we could simply extend the bridge interfaces, just to
avoid ending up with a zillion of similar interfaces. E.g. security methods (may..)
can in core simply all return true always.
But perhaps now is the time to discuss this, before we end up with something
not everyone is happy with. Perhaps a 'core2' project, devoted to deciding
these kind of thins, should be initialized now?
Michiel
--
Michiel Meeuwissen
Mediapark C101 Hilversum
+31 (0)35 6772979
nl_NL, eo, en_US
mihxil'
[]()