|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.platform.server.ServerPlatformBase org.eclipse.persistence.platform.server.oc4j.Oc4jPlatform
public class Oc4jPlatform
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 |
Constructor Summary | |
---|---|
Oc4jPlatform(DatabaseSession newDatabaseSession)
INTERNAL: Default Constructor: All behavior for the default constructor is inherited |
Method Summary | |
---|---|
void |
clearStatementCache(java.sql.Connection connection)
INTERNAL: Clears statement cache of the wrapper connection. |
java.lang.Class |
getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use for Oc4j. |
java.sql.Connection |
unwrapConnection(java.sql.Connection connection)
INTERNAL: This method is used to unwrap the oracle connection wrapped by the application server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Oc4jPlatform(DatabaseSession newDatabaseSession)
Method Detail |
---|
public java.lang.Class getExternalTransactionControllerClass()
getExternalTransactionControllerClass
in interface ServerPlatform
getExternalTransactionControllerClass
in class ServerPlatformBase
JTATransactionController
,
ServerPlatformBase.isJTAEnabled()
,
ServerPlatformBase.disableJTA()
,
ServerPlatformBase.initializeExternalTransactionController()
public java.sql.Connection unwrapConnection(java.sql.Connection connection)
unwrapConnection
in interface ServerPlatform
unwrapConnection
in class ServerPlatformBase
public void clearStatementCache(java.sql.Connection connection)
clearStatementCache
in interface ServerPlatform
clearStatementCache
in class ServerPlatformBase
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |