Package org.apache.derby.iapi.jdbc
Class JDBCBoot
- java.lang.Object
-
- org.apache.derby.iapi.jdbc.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.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Properties
bootProperties
private static java.lang.String
NETWORK_SERVER_AUTOSTART_CLASS_NAME
-
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.
-
-
-
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
-
-
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.
-
-