|
EclipseLink 2.4.0, build 'v20120608-r11652' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.internal.databaseaccess.ConnectionCustomizer
org.eclipse.persistence.platform.database.oracle.OracleJDBC_10_1_0_2ProxyConnectionCustomizer
public class OracleJDBC_10_1_0_2ProxyConnectionCustomizer
PUBLIC: This class allows connection to open proxy session.
| Field Summary | |
|---|---|
protected oracle.jdbc.OracleConnection |
oracleConnection
|
protected java.util.Properties |
proxyProperties
|
protected int |
proxyType
|
| Fields inherited from class org.eclipse.persistence.internal.databaseaccess.ConnectionCustomizer |
|---|
accessor, session |
| Constructor Summary | |
|---|---|
OracleJDBC_10_1_0_2ProxyConnectionCustomizer(org.eclipse.persistence.internal.databaseaccess.Accessor accessor,
Session session)
INTERNAL: Should be instantiated only if session.getProperty(PersistenceUnitProperties.ORACLE_PROXY_TYPE) ! |
|
| Method Summary | |
|---|---|
protected void |
buildProxyProperties()
INTERNAL: Precondition: session.getProperty(PersistenceUnitProperties.ORACLE_PROXY_TYPE) ! |
void |
clear()
INTERNAL: Clears customization from connection. |
protected void |
clearConnectionCache()
INTERNAL: Clears connection's both implicit and explicit caches. |
java.lang.Object |
clone()
INTERNAL: Normally called only when customizer is in inactive state (isActive()==false) and followed by setAccessor call on the clone. |
void |
customize()
INTERNAL: Applies customization to connection. |
boolean |
equals(java.lang.Object obj)
INTERNAL: Two customizers considered equal if they produce the sane customization. |
boolean |
equals(OracleJDBC_10_1_0_2ProxyConnectionCustomizer customizer)
INTERNAL: Two customizers considered equal if they produce the sane customization. |
boolean |
isActive()
INTERNAL: Indicated whether the connection is currently customized. |
| Methods inherited from class org.eclipse.persistence.internal.databaseaccess.ConnectionCustomizer |
|---|
createEmptyCustomizer, getAccessor, getPrevCustomizer, getSession, setPrevCustomizer |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected oracle.jdbc.OracleConnection oracleConnection
protected int proxyType
protected java.util.Properties proxyProperties
| Constructor Detail |
|---|
public OracleJDBC_10_1_0_2ProxyConnectionCustomizer(org.eclipse.persistence.internal.databaseaccess.Accessor accessor,
Session session)
| Method Detail |
|---|
public void customize()
customize in class org.eclipse.persistence.internal.databaseaccess.ConnectionCustomizerpublic boolean isActive()
isActive in class org.eclipse.persistence.internal.databaseaccess.ConnectionCustomizerpublic void clear()
clear in class org.eclipse.persistence.internal.databaseaccess.ConnectionCustomizerpublic java.lang.Object clone()
clone in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean equals(OracleJDBC_10_1_0_2ProxyConnectionCustomizer customizer)
protected void buildProxyProperties()
protected void clearConnectionCache()
|
EclipseLink 2.4.0, build 'v20120608-r11652' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||