getThemeDisplay().getPathImage()
Originally posted by James Clark:
Which class declares and defines these two methods?
private static String getImagePath() {
return getThemeDisplay().getPathImage();
}
Originally posted by James Clark:
What class defines methods getThemeDisplay() and getImagePath()? Is this the same class that will also contain a static reference to the "cache"?
petar:
I think I read (JSR spec) saying that the inner class will be invoked only once in a life of VM
petar: Is "private static String imagePath" initialized at the outer static class "loading" time or when I reach for "private static String imagePath"?
apigee, a better way to API!
Originally posted by petar:
When is the line:
private static String imagePath=getThemeDisplay().getPathImage();
invoked exactly:
1) When someone invokes static method from PortalHelper class or
2) when someone invokes static method from the Cache class
If it is, then answer (1) would be correct, which won't support idea about lazy init of inner class....
thanks
Harvinder
Consider Paul's rocket mass heater. |