Class Oc4jPlatform
java.lang.Object
org.eclipse.persistence.platform.server.ServerPlatformBase
org.eclipse.persistence.platform.server.oc4j.Oc4jPlatform
- All Implemented Interfaces:
ServerPlatform
PUBLIC:
This is the concrete subclass responsible for representing Oc4j-specific server behavior.
This platform overrides:
getExternalTransactionControllerClass(): to use an Oc4j-specific controller class
initializeServerNameAndVersion(): to call an Oc4j library for this information
-
Field Summary
Fields inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase
DEFAULT_SERVER_NAME_AND_VERSION, externalTransactionControllerClass, JMX_REGISTER_DEV_MBEAN_PROPERTY, JMX_REGISTER_RUN_MBEAN_PROPERTY, serverNameAndVersion, shouldRegisterDevelopmentBean, shouldRegisterRuntimeBean, threadPool, threadPoolSize
-
Constructor Summary
ConstructorDescriptionOc4jPlatform
(DatabaseSession newDatabaseSession) INTERNAL: Default Constructor: All behavior for the default constructor is inherited -
Method Summary
Modifier and TypeMethodDescriptionvoid
clearStatementCache
(Connection connection) INTERNAL: Clears statement cache of the wrapper connection.INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for Oc4j.unwrapConnection
(Connection connection) INTERNAL: This method is used to unwrap the oracle connection wrapped by the application server.Methods inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase
configureProfiler, disableJTA, disableRuntimeServices, enableRuntimeServices, ensureNotLoggedIn, externalTransactionControllerNotNullWarning, getDatabaseSession, getJNDIConnectorLookupType, getModuleName, getNewTempClassLoader, getPartitionID, getServerLog, getServerNameAndVersion, getThreadPool, getThreadPoolSize, initializeExternalTransactionController, initializeServerNameAndVersion, isCMP, isJTA11, isJTAEnabled, isRuntimeServicesEnabled, isRuntimeServicesEnabledDefault, launchContainerRunnable, registerMBean, serverSpecificRegisterMBean, serverSpecificUnregisterMBean, setExternalTransactionControllerClass, setIsCMP, setThreadPool, setThreadPoolSize, shouldUseDriverManager, shutdown, unregisterMBean, usesPartitions, wasFailureCommunicationBased
-
Constructor Details
-
Oc4jPlatform
INTERNAL: Default Constructor: All behavior for the default constructor is inherited
-
-
Method Details
-
getExternalTransactionControllerClass
INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for Oc4j. This is read-only.- Specified by:
getExternalTransactionControllerClass
in interfaceServerPlatform
- Specified by:
getExternalTransactionControllerClass
in classServerPlatformBase
- Returns:
- Class externalTransactionControllerClass
- See Also:
-
unwrapConnection
INTERNAL: This method is used to unwrap the oracle connection wrapped by the application server. TopLink needs this unwrapped connection for certain Oracle Specific support. (ie TIMESTAMPTZ)- Specified by:
unwrapConnection
in interfaceServerPlatform
- Overrides:
unwrapConnection
in classServerPlatformBase
-
clearStatementCache
INTERNAL: Clears statement cache of the wrapper connection. Required by Oracle proxy authentication: currently connection statement cache becomes invalid on switching to/from proxy session. This method is called by OracleJDBC_10_1_0_2ProxyConnectionCustomizer before opening proxy session and before closing it.- Specified by:
clearStatementCache
in interfaceServerPlatform
- Overrides:
clearStatementCache
in classServerPlatformBase
-