From: Keats <ke...@su...> - 2003-07-28 20:38:09
|
I have to quibble with the method name getVariable(). We're not getting a Variable, we're getting an Object. More specifically we're getting an object that is deployed as a resource to the context. This may seem trivial, but I think this name could be a major source of confusion in the future (as some of our other names have been). So maybe it should be: AutoContextLoader.getResource() or alternatively: getHelper() getPlugin() getValue() getObject() get() retrieve() getThingie() ... Since what can be returned is totally generic, it's hard to come up with a meaningful name. getResource() seems best to me, but any of the above would be better than getVariable. Keats |