Top Description Fields Constructors Methods
com.mchange.v2.c3p0.impl

public abstract Class DriverManagerDataSourceBase

extends IdentityTokenResolvable
implements Referenceable, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, javax.naming.Referenceable
Known Direct Subclasses
com.mchange.v2.c3p0.DriverManagerDataSource
Imports
java.util.*, com.mchange.v2.c3p0.C3P0Registry, com.mchange.v2.c3p0.cfg.C3P0Config, com.mchange.v2.c3p0.impl.AuthMaskingProperties, .C3P0ImplUtils, com.mchange.v2.naming.JavaBeanObjectFactory, .JavaBeanReferenceMaker, .ReferenceIndirector, .ReferenceMaker, com.mchange.v2.ser.IndirectlySerialized, .Indirector, .SerializableUtils, java.beans.PropertyChangeEvent, .PropertyChangeListener, .PropertyChangeSupport, java.io.IOException, .NotSerializableException, .ObjectInputStream, .ObjectOutputStream, .Serializable, java.sql.SQLFeatureNotSupportedException, java.util.logging.Logger, javax.naming.NamingException, .Reference, .Referenceable

This class was generated by com.mchange.v2.c3p0.codegen.BeangenDataSourceGenerator.

Field Summary

Modifier and TypeField and Description
protected String
protected String
protected String
protected boolean
private volatile String
protected String
protected PropertyChangeSupport
protected Properties
pack-priv static final JavaBeanReferenceMaker
private static final long
private static final short

Constructor Summary

AccessConstructor and Description
private
public
DriverManagerDataSourceBase(boolean autoregister)

Method Summary

Modifier and TypeMethod and Description
public void
public void
private boolean
protected String
public synchronized String
public synchronized String
public synchronized String
public String
public synchronized String
public Logger
public synchronized Properties
public PropertyChangeListener[]
protected PropertyChangeSupport
public Reference
getReference()

Implements javax.naming.Referenceable.getReference.

Retrieves the Reference of this object.

public synchronized boolean
private void
public void
public void
public synchronized void
setDescription(String description)

public synchronized void
setDriverClass(String driverClass)

public synchronized void
setFactoryClassLocation(String factoryClassLocation)

public synchronized void
setForceUseNamedDriverClass(boolean forceUseNamedDriverClass)

public void
public synchronized void
setJdbcUrl(String jdbcUrl)

public synchronized void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

private void
Inherited from com.mchange.v2.c3p0.impl.IdentityTokenResolvable:
doResolvereadResolveverifyResolve

Field Detail

descriptionback to summary
protected String description
driverClassback to summary
protected String driverClass
factoryClassLocationback to summary
protected String factoryClassLocation
forceUseNamedDriverClassback to summary
protected boolean forceUseNamedDriverClass
identityTokenback to summary
private volatile String identityToken
jdbcUrlback to summary
protected String jdbcUrl
pcsback to summary
protected PropertyChangeSupport pcs
propertiesback to summary
protected Properties properties
referenceMakerback to summary
pack-priv static final JavaBeanReferenceMaker referenceMaker
serialVersionUIDback to summary
private static final long serialVersionUID
VERSIONback to summary
private static final short VERSION

Constructor Detail

DriverManagerDataSourceBaseback to summary
private DriverManagerDataSourceBase()
DriverManagerDataSourceBaseback to summary
public DriverManagerDataSourceBase(boolean autoregister)

Method Detail

addPropertyChangeListenerback to summary
public void addPropertyChangeListener(PropertyChangeListener pcl)
addPropertyChangeListenerback to summary
public void addPropertyChangeListener(String propName, PropertyChangeListener pcl)
eqOrBothNullback to summary
private boolean eqOrBothNull(Object a, Object b)
extraToStringInfoback to summary
protected String extraToStringInfo()
getDescriptionback to summary
public synchronized String getDescription()
getDriverClassback to summary
public synchronized String getDriverClass()
getFactoryClassLocationback to summary
public synchronized String getFactoryClassLocation()
getIdentityTokenback to summary
public String getIdentityToken()

Implements com.mchange.v2.c3p0.impl.IdentityTokenized.getIdentityToken.

getJdbcUrlback to summary
public synchronized String getJdbcUrl()
getParentLoggerback to summary
public Logger getParentLogger() throws SQLFeatureNotSupportedException
getPropertiesback to summary
public synchronized Properties getProperties()
getPropertyChangeListenersback to summary
public PropertyChangeListener[] getPropertyChangeListeners()
getPropertyChangeSupportback to summary
protected PropertyChangeSupport getPropertyChangeSupport()
getReferenceback to summary
public Reference getReference() throws NamingException

Implements javax.naming.Referenceable.getReference.

Doc from javax.naming.Referenceable.getReference.

Retrieves the Reference of this object.

Returns:Reference

The non-null Reference of this object.

Exceptions
NamingException:
If a naming exception was encountered while retrieving the reference.
isForceUseNamedDriverClassback to summary
public synchronized boolean isForceUseNamedDriverClass()
readObjectback to summary
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
removePropertyChangeListenerback to summary
public void removePropertyChangeListener(PropertyChangeListener pcl)
removePropertyChangeListenerback to summary
public void removePropertyChangeListener(String propName, PropertyChangeListener pcl)
setDescriptionback to summary
public synchronized void setDescription(String description)
setDriverClassback to summary
public synchronized void setDriverClass(String driverClass)
setFactoryClassLocationback to summary
public synchronized void setFactoryClassLocation(String factoryClassLocation)
setForceUseNamedDriverClassback to summary
public synchronized void setForceUseNamedDriverClass(boolean forceUseNamedDriverClass)
setIdentityTokenback to summary
public void setIdentityToken(String identityToken)

Implements com.mchange.v2.c3p0.impl.IdentityTokenized.setIdentityToken.

setJdbcUrlback to summary
public synchronized void setJdbcUrl(String jdbcUrl)
setPropertiesback to summary
public synchronized void setProperties(Properties properties)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

writeObjectback to summary
private void writeObject(ObjectOutputStream oos) throws IOException