< prev index next >

src/java.xml/share/classes/javax/xml/transform/FactoryFinder.java

Print this page




  26 package javax.xml.transform;
  27 
  28 import java.io.File;
  29 import java.lang.reflect.Method;
  30 import java.lang.reflect.Modifier;
  31 import java.security.AccessController;
  32 import java.security.PrivilegedAction;
  33 import java.util.Iterator;
  34 import java.util.Properties;
  35 import java.util.ServiceConfigurationError;
  36 import java.util.ServiceLoader;
  37 import java.util.function.Supplier;
  38 import jdk.xml.internal.SecuritySupport;
  39 
  40 /**
  41  * <p>Implements pluggable Datatypes.</p>
  42  *
  43  * <p>This class is duplicated for each JAXP subpackage so keep it in
  44  * sync.  It is package private for secure class loading.</p>
  45  *
  46  * @author Santiago.PericasGeertsen@sun.com
  47  * @author Huizhe.Wang@oracle.com
  48  */
  49 class FactoryFinder {
  50     private static final String DEFAULT_PACKAGE = "com.sun.org.apache.xalan.internal.";
  51 
  52     /**
  53      * Internal debug flag.
  54      */
  55     private static boolean debug = false;
  56 
  57     /**
  58      * Cache for properties in java.home/conf/jaxp.properties
  59      */
  60     private final static Properties cacheProps = new Properties();
  61 
  62     /**
  63      * Flag indicating if properties from java.home/conf/jaxp.properties
  64      * have been cached.
  65      */
  66     static volatile boolean firstTime = true;
  67 




  26 package javax.xml.transform;
  27 
  28 import java.io.File;
  29 import java.lang.reflect.Method;
  30 import java.lang.reflect.Modifier;
  31 import java.security.AccessController;
  32 import java.security.PrivilegedAction;
  33 import java.util.Iterator;
  34 import java.util.Properties;
  35 import java.util.ServiceConfigurationError;
  36 import java.util.ServiceLoader;
  37 import java.util.function.Supplier;
  38 import jdk.xml.internal.SecuritySupport;
  39 
  40 /**
  41  * <p>Implements pluggable Datatypes.</p>
  42  *
  43  * <p>This class is duplicated for each JAXP subpackage so keep it in
  44  * sync.  It is package private for secure class loading.</p>
  45  *
  46  * @author Santiago PericasGeertsen

  47  */
  48 class FactoryFinder {
  49     private static final String DEFAULT_PACKAGE = "com.sun.org.apache.xalan.internal.";
  50 
  51     /**
  52      * Internal debug flag.
  53      */
  54     private static boolean debug = false;
  55 
  56     /**
  57      * Cache for properties in java.home/conf/jaxp.properties
  58      */
  59     private final static Properties cacheProps = new Properties();
  60 
  61     /**
  62      * Flag indicating if properties from java.home/conf/jaxp.properties
  63      * have been cached.
  64      */
  65     static volatile boolean firstTime = true;
  66 


< prev index next >