com.mchange.v2.c3p0.impl
Class JndiRefDataSourceBase

java.lang.Object
  extended by com.mchange.v2.c3p0.impl.AbstractIdentityTokenized
      extended by com.mchange.v2.c3p0.impl.IdentityTokenResolvable
          extended by com.mchange.v2.c3p0.impl.JndiRefDataSourceBase
All Implemented Interfaces:
IdentityTokenized, java.io.Serializable, javax.naming.Referenceable

public class JndiRefDataSourceBase
extends IdentityTokenResolvable
implements javax.naming.Referenceable, java.io.Serializable

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

See Also:
Serialized Form

Field Summary
protected  java.beans.PropertyChangeSupport pcs
           
protected  java.beans.VetoableChangeSupport vcs
           
 
Constructor Summary
JndiRefDataSourceBase(boolean autoregister)
           
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
           
 void addPropertyChangeListener(java.lang.String propName, java.beans.PropertyChangeListener pcl)
           
 void addVetoableChangeListener(java.beans.VetoableChangeListener vcl)
           
protected  java.lang.String extraToStringInfo()
           
 java.lang.String getFactoryClassLocation()
           
 java.lang.String getIdentityToken()
           
 java.util.Hashtable getJndiEnv()
           
 java.lang.Object getJndiName()
           
 java.beans.PropertyChangeListener[] getPropertyChangeListeners()
           
protected  java.beans.PropertyChangeSupport getPropertyChangeSupport()
           
 javax.naming.Reference getReference()
           
 java.beans.VetoableChangeListener[] getVetoableChangeListeners()
           
protected  java.beans.VetoableChangeSupport getVetoableChangeSupport()
           
 boolean isCaching()
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
           
 void removePropertyChangeListener(java.lang.String propName, java.beans.PropertyChangeListener pcl)
           
 void removeVetoableChangeListener(java.beans.VetoableChangeListener vcl)
           
 void setCaching(boolean caching)
           
 void setFactoryClassLocation(java.lang.String factoryClassLocation)
           
 void setIdentityToken(java.lang.String identityToken)
           
 void setJndiEnv(java.util.Hashtable jndiEnv)
           
 void setJndiName(java.lang.Object jndiName)
           
 java.lang.String toString()
           
 
Methods inherited from class com.mchange.v2.c3p0.impl.IdentityTokenResolvable
doResolve, readResolve, verifyResolve
 
Methods inherited from class com.mchange.v2.c3p0.impl.AbstractIdentityTokenized
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

pcs

protected java.beans.PropertyChangeSupport pcs

vcs

protected java.beans.VetoableChangeSupport vcs
Constructor Detail

JndiRefDataSourceBase

public JndiRefDataSourceBase(boolean autoregister)
Method Detail

getPropertyChangeSupport

protected java.beans.PropertyChangeSupport getPropertyChangeSupport()

getVetoableChangeSupport

protected java.beans.VetoableChangeSupport getVetoableChangeSupport()

isCaching

public boolean isCaching()

setCaching

public void setCaching(boolean caching)

getFactoryClassLocation

public java.lang.String getFactoryClassLocation()

setFactoryClassLocation

public void setFactoryClassLocation(java.lang.String factoryClassLocation)

getIdentityToken

public java.lang.String getIdentityToken()
Specified by:
getIdentityToken in interface IdentityTokenized

setIdentityToken

public void setIdentityToken(java.lang.String identityToken)
Specified by:
setIdentityToken in interface IdentityTokenized

getJndiEnv

public java.util.Hashtable getJndiEnv()

setJndiEnv

public void setJndiEnv(java.util.Hashtable jndiEnv)

getJndiName

public java.lang.Object getJndiName()

setJndiName

public void setJndiName(java.lang.Object jndiName)
                 throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)

addPropertyChangeListener

public void addPropertyChangeListener(java.lang.String propName,
                                      java.beans.PropertyChangeListener pcl)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)

removePropertyChangeListener

public void removePropertyChangeListener(java.lang.String propName,
                                         java.beans.PropertyChangeListener pcl)

getPropertyChangeListeners

public java.beans.PropertyChangeListener[] getPropertyChangeListeners()

addVetoableChangeListener

public void addVetoableChangeListener(java.beans.VetoableChangeListener vcl)

removeVetoableChangeListener

public void removeVetoableChangeListener(java.beans.VetoableChangeListener vcl)

getVetoableChangeListeners

public java.beans.VetoableChangeListener[] getVetoableChangeListeners()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

extraToStringInfo

protected java.lang.String extraToStringInfo()

getReference

public javax.naming.Reference getReference()
                                    throws javax.naming.NamingException
Specified by:
getReference in interface javax.naming.Referenceable
Throws:
javax.naming.NamingException