|
From: Steve J. <sj...@vm...> - 2008-07-29 17:54:24
|
Hi Folks, The getCurrentProperty() method defined in ManagedObject was public before. When I released the first build, I marked it as protected just to be cautious. After thinking it for a while, I think it's useful for the application developer to use it since some of the properties are so huage and there is no way to get part of it if this method is not exposed. The new name for the method would be getPropertyByPath() since it will be more self explanatory. The reason for the "current" there is because I had implemented a per object based caching before and there is a method called getCachedProperty() for getting cached property. The caching was taken away since it's not mature yet. I would like all of us think about this feature with a new design. I would like to get your opinion on exposing getPropertyByPath() first. Please let me know at your earliest convenience. BTW, I would like to push the project to Beta. If you have any code, sample, that would like to be included, pls let me know as soon as possible. Tom Elloit has created his first code and it's merged into the trunk. Thanks! Steve JIN | CoDevelopment, VMware, Inc.| 3401 Hillview Avenue, Palo Alto, CA 94304 | O: 1-650-427-3934 x73934 Open Source Virtual Infrastructure Java API @ http://vijava.sourceforge.net<blocked::blocked::http://vijava.sourceforge.net/> |