Extension SDK

oracle.jdevimpl.uieditor
Class UIEditorPreloader

java.lang.Object
  extended byoracle.jdevimpl.uieditor.UIEditorPreloader

public final class UIEditorPreloader
extends java.lang.Object


Constructor Summary
UIEditorPreloader()
           
 
Method Summary
static void preloadInit()
          Public routine for doing the work of preloading the UI Editor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIEditorPreloader

public UIEditorPreloader()
Method Detail

preloadInit

public static void preloadInit()
Public routine for doing the work of preloading the UI Editor. The greatest performance hit on opening a UIEditor for the first time, is the time taken by the oracle.net facilities to build the index data for each and every archive on the system classpath. When the UIEditor asks Jot for a JotClass of a proxy (say oracle.jdevimpl.uieditor.proxy.JFrame), Jot will ask its URLPath representing the system classpath first for a class named oracle.class, then for oracle.jdevimpl.class, etc. until finally it asks for and receives an URL for oracle.jdevimpl.uieditor.proxy.JFrame.class. The reason for this are best explained in the Jot code, but essentially the argument boils down to Jot needing to know if the value refers to a class, or to an inner class (e.g. in the example above we could just as easily have been referring to an inner class named JFrame found inside the outer class oracle.jdevimpl.uieditor.proxy. The result is that as the URLPath attempts to find a class named oracle, then oracle.jdevimpl, etc. it will fail in each archive on the classpath one after the other thus building the index for each archive as it goes and chewing up considerable time.


Extension SDK

 

Copyright ©1997, 2003, Oracle. All rights reserved.