Top Description Fields Constructors Methods
org.apache.derby.iapi.jdbc

public Class JDBCBoot

extends Object
Class Inheritance
Imports
java.io.PrintWriter, java.sql.DriverManager, java.util.Properties, org.apache.derby.shared.common.error.StandardException, org.apache.derby.shared.common.reference.Attribute, .MessageId, .Property, org.apache.derby.iapi.jdbc.InternalDriver, org.apache.derby.iapi.services.monitor.Monitor, org.apache.derby.iapi.services.property.PropertyUtil

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

Modifier and TypeField and Description
private Properties
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv void
addProperty(String name, String value)

public static void
boot()

public void
boot(String
The database protocol
protocol
,
final PrintWriter
The diagnostic log writer
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(final Properties props, final PrintWriter logging)

Must be private so that user code can't call this entry point.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bootPropertiesback to summary
private Properties bootProperties
NETWORK_SERVER_AUTOSTART_CLASS_NAMEback to summary
private static final String NETWORK_SERVER_AUTOSTART_CLASS_NAME

Constructor Detail

JDBCBootback to summary
public JDBCBoot()

Method Detail

addPropertyback to summary
pack-priv void addProperty(String name, String value)
bootback to summary
public static void boot()
bootback to summary
public void boot(String protocol, final PrintWriter logging)

Boot a system requesting a JDBC driver but only if there is no current JDBC driver that is handling the required protocol.

Parameters
protocol:String

The database protocol

logging:PrintWriter

The diagnostic log writer

bootback to summary
private static void boot(final Properties props, final PrintWriter logging)

Must be private so that user code can't call this entry point.