|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cle.persistence.DeploymentConnector
Classes of this type can automatically get a connection via the DeploymentManager and ConnectionManager by specifying reference class and the appropriate property files.
ConnectionManager
,
DeploymentManager
Constructor Summary | |
DeploymentConnector()
|
Method Summary | |
protected void |
deploymentKeyNotFound(java.lang.String aString)
Run internally by getDeploymentKey() method when a deploymentKey is not found in the DeploymentManager |
java.lang.Object |
getConnection(java.lang.Class aClass)
Call this method to get the Connection specific to the specified class. |
java.lang.Object |
getConnection(java.lang.Class aClass,
java.lang.Object sessionId)
Call this method to get the Connection specific to the specified class. |
java.lang.Object |
getConnection(java.lang.Class aClass,
java.lang.Object sessionId,
java.lang.String connectionId)
Call this method to get the Connection specific to the specified class. |
java.lang.Object |
getConnection(java.lang.Class aClass,
java.util.Properties dynamicConnectionProperties)
Call this method to get the Connection specific to the specified class. |
java.lang.Object |
getConnection(java.lang.Class aClass,
java.util.Properties dynamicConnectionProperties,
java.lang.Object sessionId)
Call this method to get the Connection specific to the specified class. |
java.lang.Object |
getConnection(java.lang.Class aClass,
java.lang.String connectionId)
Call this method to get the Connection specific to the specified class. |
java.lang.Object |
getConnection(java.lang.String aClassString)
Call this method to get the Connection specific to the specified class string. |
java.lang.Object |
getConnection(java.lang.String aClassString,
java.lang.Object sessionId)
Call this method to get the Connection specific to the specified class string. |
java.lang.Object |
getConnection(java.lang.String aClassString,
java.lang.Object sessionId,
java.lang.String connectionId)
Call this method to get the Connection specific to the specified class string. |
java.lang.Object |
getConnection(java.lang.String aClassString,
java.util.Properties dynamicConnectionProperties)
Call this method to get the Connection specific to the specified class string. |
java.lang.Object |
getConnection(java.lang.String aClassString,
java.util.Properties dynamicConnectionProperties,
java.lang.Object sessionId)
Call this method to get the Connection specific to the specified class string. |
java.lang.Object |
getConnection(java.lang.String aClassString,
java.util.Properties dynamicConnectionProperties,
java.lang.Object sessionId,
java.lang.String connectionId)
Call this method to get the Connection specific to the specified class string. |
java.lang.Object |
getConnection(java.lang.String aClassString,
java.util.Properties dynamicConnectionProperties,
java.lang.String connectionId)
Call this method to get the Connection specific to the specified class string. |
java.lang.Object |
getConnection(java.lang.String aClassString,
java.lang.String connectionId)
Call this method to get the Connection specific to the specified class string. |
protected java.lang.String |
getDeploymentKey(java.lang.Class aClass)
Determines which persistence environment to use for the given identifier |
protected java.lang.String |
getDeploymentKey(java.lang.Object anObject)
Determines which persistence environment to use for the given identifier |
protected java.lang.String |
getDeploymentKey(java.lang.String aString)
Determines which persistence environment to use for the given identifier |
java.lang.Object |
getProvider(java.lang.Class aClass)
Call this method to get the Persistence Provider specific to the specified class. |
java.lang.Object |
getProvider(java.lang.String aClassString)
Call this method to get the Persistence Provider specific to the specified class string. |
protected void |
providerNotSupported(java.lang.String providerString)
Run by query methods when a provider is not found in the Connection Manager |
void |
releaseConnection(java.lang.Class aClass)
|
void |
releaseConnection(java.lang.Class aClass,
java.lang.Object sessionId)
Releases the connection associated to the sessionId passed in. |
void |
releaseConnection(java.lang.Class aClass,
java.lang.Object sessionId,
java.lang.String connectionId)
Releases the connection associated to the sessionId passed in. |
void |
releaseConnection(java.lang.Class aClass,
java.lang.String connectionId)
Releases the connection associated to the sessionId passed in. |
void |
releaseConnection(java.lang.String aClassString)
Releases the connection associated to the sessionId passed in. |
void |
releaseConnection(java.lang.String aClassString,
java.lang.Object sessionId)
Releases the connection associated to the sessionId passed in. |
void |
releaseConnection(java.lang.String aClassString,
java.lang.Object sessionId,
java.lang.String connectionId)
Releases the connection associated to the sessionId passed in. |
void |
releaseConnection(java.lang.String aClassString,
java.lang.String connectionId)
Releases the connection associated to the sessionId passed in. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DeploymentConnector()
Method Detail |
public java.lang.Object getConnection(java.lang.Class aClass) throws java.lang.Exception
public java.lang.Object getConnection(java.lang.Class aClass, java.lang.Object sessionId) throws java.lang.Exception
public java.lang.Object getConnection(java.lang.Class aClass, java.lang.Object sessionId, java.lang.String connectionId) throws java.lang.Exception
aClass
- : Class the class for which the connection is obtainedsessionId
- : Object the sessionIdconnectionId
- : an identifier to differentiate between multiple
connections of the same type. E.g. "1".public java.lang.Object getConnection(java.lang.Class aClass, java.lang.String connectionId) throws java.lang.Exception
aClass
- : Class the class for which the connection is obtainedconnectionId
- : an identifier to differentiate between multiple
connections of the same type. E.g. "1".public java.lang.Object getConnection(java.lang.Class aClass, java.util.Properties dynamicConnectionProperties, java.lang.Object sessionId) throws java.lang.Exception
aClass
- : Class the class for which the connection is obtaineddynamicConnectionProperties
- ; Properties specialized properties for the connectionsessionId
- : Object the sessionIdpublic java.lang.Object getConnection(java.lang.Class aClass, java.util.Properties dynamicConnectionProperties) throws java.lang.Exception
aClass
- : Class the class for which the connection is obtaineddynamicConnectionProperties
- ; Properties specialized properties for the connectionpublic java.lang.Object getConnection(java.lang.String aClassString, java.lang.Object sessionId) throws java.lang.Exception
public java.lang.Object getConnection(java.lang.String aClassString) throws java.lang.Exception
public java.lang.Object getConnection(java.lang.String aClassString, java.lang.Object sessionId, java.lang.String connectionId) throws java.lang.Exception
aClassString
- : String name of the class used as deploymentKeysessionId
- : Object the sessionIdconnectionId
- : an identifier to differentiate between multiple
connections of the same type. E.g. "1".public java.lang.Object getConnection(java.lang.String aClassString, java.lang.String connectionId) throws java.lang.Exception
aClassString
- : String name of the class used as deploymentKeyconnectionId
- : an identifier to differentiate between multiple
connections of the same type. E.g. "1".public java.lang.Object getConnection(java.lang.String aClassString, java.util.Properties dynamicConnectionProperties, java.lang.Object sessionId) throws java.lang.Exception
aClassString
- : String name of the class used as deploymentKeydynamicConnectionProperties
- : Properties the dynamic propertiessessionId
- : Object the sessionIdpublic java.lang.Object getConnection(java.lang.String aClassString, java.util.Properties dynamicConnectionProperties) throws java.lang.Exception
aClassString
- : String name of the class used as deploymentKeydynamicConnectionProperties
- : Properties the dynamic propertiespublic java.lang.Object getConnection(java.lang.String aClassString, java.util.Properties dynamicConnectionProperties, java.lang.String connectionId) throws java.lang.Exception
aClassString
- : String name of the class used as deploymentKeydynamicConnectionProperties
- : Properties the dynamic propertiesconnectionId
- : an identifier to differentiate between multiple
connections of the same type. E.g. "1".public java.lang.Object getConnection(java.lang.String aClassString, java.util.Properties dynamicConnectionProperties, java.lang.Object sessionId, java.lang.String connectionId) throws java.lang.Exception
aClassString
- : String name of the class used as deploymentKeydynamicConnectionProperties
- : Properties the dynamic propertiessessionId
- : Object the sessionIdconnectionId
- : an identifier to differentiate between multiple
connections of the same type. E.g. "1".public void releaseConnection(java.lang.Class aClass, java.lang.Object sessionId) throws java.lang.Exception
public void releaseConnection(java.lang.Class aClass) throws java.lang.Exception
public void releaseConnection(java.lang.String aClassString, java.lang.Object sessionId) throws java.lang.Exception
public void releaseConnection(java.lang.String aClassString) throws java.lang.Exception
public void releaseConnection(java.lang.Class aClass, java.lang.Object sessionId, java.lang.String connectionId) throws java.lang.Exception
public void releaseConnection(java.lang.Class aClass, java.lang.String connectionId) throws java.lang.Exception
public void releaseConnection(java.lang.String aClassString, java.lang.String connectionId) throws java.lang.Exception
public void releaseConnection(java.lang.String aClassString, java.lang.Object sessionId, java.lang.String connectionId) throws java.lang.Exception
public java.lang.Object getProvider(java.lang.Class aClass) throws java.lang.Exception
public java.lang.Object getProvider(java.lang.String aClassString) throws java.lang.Exception
protected java.lang.String getDeploymentKey(java.lang.String aString)
protected java.lang.String getDeploymentKey(java.lang.Object anObject)
protected java.lang.String getDeploymentKey(java.lang.Class aClass)
protected void providerNotSupported(java.lang.String providerString)
ConnectionManager
protected void deploymentKeyNotFound(java.lang.String aString)
DeploymentManager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |