public class JndiRefDataSourceBase extends IdentityTokenResolvable implements javax.naming.Referenceable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.beans.PropertyChangeSupport |
pcs |
protected java.beans.VetoableChangeSupport |
vcs |
Constructor and Description |
---|
JndiRefDataSourceBase(boolean autoregister) |
Modifier and Type | Method and Description |
---|---|
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.util.logging.Logger |
getParentLogger() |
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() |
doResolve, readResolve, verifyResolve
equals, hashCode
protected java.beans.PropertyChangeSupport pcs
protected java.beans.VetoableChangeSupport vcs
protected java.beans.PropertyChangeSupport getPropertyChangeSupport()
protected java.beans.VetoableChangeSupport getVetoableChangeSupport()
public boolean isCaching()
public void setCaching(boolean caching)
public java.lang.String getFactoryClassLocation()
public void setFactoryClassLocation(java.lang.String factoryClassLocation)
public java.lang.String getIdentityToken()
getIdentityToken
in interface IdentityTokenized
public void setIdentityToken(java.lang.String identityToken)
setIdentityToken
in interface IdentityTokenized
public java.util.Hashtable getJndiEnv()
public void setJndiEnv(java.util.Hashtable jndiEnv)
public java.lang.Object getJndiName()
public void setJndiName(java.lang.Object jndiName) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
public void addPropertyChangeListener(java.lang.String propName, java.beans.PropertyChangeListener pcl)
public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
public void removePropertyChangeListener(java.lang.String propName, java.beans.PropertyChangeListener pcl)
public java.beans.PropertyChangeListener[] getPropertyChangeListeners()
public void addVetoableChangeListener(java.beans.VetoableChangeListener vcl)
public void removeVetoableChangeListener(java.beans.VetoableChangeListener vcl)
public java.beans.VetoableChangeListener[] getVetoableChangeListeners()
public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException
java.sql.SQLFeatureNotSupportedException
public java.lang.String toString()
toString
in class java.lang.Object
protected java.lang.String extraToStringInfo()
public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
javax.naming.NamingException