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

public Class JndiRefDataSourceBase

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

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

Field Summary

Modifier and TypeField and Description
private boolean
private String
private volatile String
private Hashtable<K, V>
private Object
protected PropertyChangeSupport
pack-priv static final JavaBeanReferenceMaker
private static final long
protected VetoableChangeSupport
private static final short

Constructor Summary

AccessConstructor and Description
private
public
JndiRefDataSourceBase(boolean autoregister)

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
private boolean
protected String
public String
public String
public Hashtable<K, V>
public Object
public Logger
public PropertyChangeListener[]
protected PropertyChangeSupport
public Reference
getReference()

Implements javax.naming.Referenceable.getReference.

Retrieves the Reference of this object.

public VetoableChangeListener[]
protected VetoableChangeSupport
public boolean
private void
public void
public void
public void
public void
setCaching(boolean caching)

public void
setFactoryClassLocation(String factoryClassLocation)

public void
public void
setJndiEnv(Hashtable<K, V> jndiEnv)

public void
setJndiName(Object jndiName)

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

cachingback to summary
private boolean caching
factoryClassLocationback to summary
private String factoryClassLocation
identityTokenback to summary
private volatile String identityToken
jndiEnvback to summary
private Hashtable<K, V> jndiEnv
jndiNameback to summary
private Object jndiName
pcsback to summary
protected PropertyChangeSupport pcs
referenceMakerback to summary
pack-priv static final JavaBeanReferenceMaker referenceMaker
serialVersionUIDback to summary
private static final long serialVersionUID
vcsback to summary
protected VetoableChangeSupport vcs
VERSIONback to summary
private static final short VERSION

Constructor Detail

JndiRefDataSourceBaseback to summary
private JndiRefDataSourceBase()
JndiRefDataSourceBaseback to summary
public JndiRefDataSourceBase(boolean autoregister)

Method Detail

addPropertyChangeListenerback to summary
public void addPropertyChangeListener(PropertyChangeListener pcl)
addPropertyChangeListenerback to summary
public void addPropertyChangeListener(String propName, PropertyChangeListener pcl)
addVetoableChangeListenerback to summary
public void addVetoableChangeListener(VetoableChangeListener vcl)
eqOrBothNullback to summary
private boolean eqOrBothNull(Object a, Object b)
extraToStringInfoback to summary
protected String extraToStringInfo()
getFactoryClassLocationback to summary
public String getFactoryClassLocation()
getIdentityTokenback to summary
public String getIdentityToken()

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

getJndiEnvback to summary
public Hashtable<K, V> getJndiEnv()
getJndiNameback to summary
public Object getJndiName()
getParentLoggerback to summary
public Logger getParentLogger() throws SQLFeatureNotSupportedException
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.
getVetoableChangeListenersback to summary
public VetoableChangeListener[] getVetoableChangeListeners()
getVetoableChangeSupportback to summary
protected VetoableChangeSupport getVetoableChangeSupport()
isCachingback to summary
public boolean isCaching()
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)
removeVetoableChangeListenerback to summary
public void removeVetoableChangeListener(VetoableChangeListener vcl)
setCachingback to summary
public void setCaching(boolean caching)
setFactoryClassLocationback to summary
public void setFactoryClassLocation(String factoryClassLocation)
setIdentityTokenback to summary
public void setIdentityToken(String identityToken)

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

setJndiEnvback to summary
public void setJndiEnv(Hashtable<K, V> jndiEnv)
setJndiNameback to summary
public void setJndiName(Object jndiName) throws PropertyVetoException
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