Glen Daniels wrote:
Look carefully - the setters for the stuff that users need (content,
properties, etc) are there in the interface, that's the point. As a
client, you can mutate what you "own", and you can't touch what the
implementation "owns" for you.
Ah ok .. sorry.
Will rsource.getPath() return "/helloworld" after this operation?
I think so - and the various dates should be updated too.
Can I put the same resource into another location? That is, can I say
immediately after above, registry.put("/foo", resource)?
Unclear. I guess my predilection would be to say yes - it's understood
when you do a put() that things will probably change, except the "user
controllable" stuff like content and properties.
Fair enough- let's document that behavior clearly then.
Does it make more sense now? The Impl would not be exposed to users,
except those writing extensions.
Sounds fine.
I think this'll have a MAJOR impact on registry consumers- mashup server
and now the ESB community site work. So if we're doing this change I'd
like to see it done *now* rather than later.
Sanjiva.
--
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
email: [EMAIL PROTECTED]; cell: +1 650 265 8311 | +94 77 787 6880
"Oxygenating the Web Service Platform."
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev