Class JDBCBoot


  • public class JDBCBoot
    extends java.lang.Object
    A class to boot a Derby system that includes a JDBC driver. Should be used indirectly through JDBCDriver or JDBCServletBoot or any other useful booting mechanism that comes along.
    • Constructor Summary

      Constructors 
      Constructor Description
      JDBCBoot()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void addProperty​(java.lang.String name, java.lang.String value)  
      void boot​(java.lang.String protocol, java.io.PrintWriter logging)
      Boot a system requesting a JDBC driver but only if there is no current JDBC driver that is handling the required protocol.
      private static void boot​(java.util.Properties props, java.io.PrintWriter logging)
      Privileged startup.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • bootProperties

        private java.util.Properties bootProperties
      • NETWORK_SERVER_AUTOSTART_CLASS_NAME

        private static final java.lang.String NETWORK_SERVER_AUTOSTART_CLASS_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • JDBCBoot

        public JDBCBoot()
    • Method Detail

      • addProperty

        void addProperty​(java.lang.String name,
                         java.lang.String value)
      • boot

        public void boot​(java.lang.String protocol,
                         java.io.PrintWriter logging)
        Boot a system requesting a JDBC driver but only if there is no current JDBC driver that is handling the required protocol.
      • boot

        private static void boot​(java.util.Properties props,
                                 java.io.PrintWriter logging)
        Privileged startup. Must be private so that user code can't call this entry point.