Methods Summary |
---|
public abstract void | disableJTA()INTERNAL: disableJTA(): Configure the receiver such that my external transaction controller class will
be ignored, and will NOT be used to populate DatabaseSession's external transaction controller class
at runtime.
|
public abstract void | disableRuntimeServices()INTERNAL: disableRuntimeServices(): Configure the receiver such that no JMX/MBean will be registered
to provide runtime services for my DatabaseSession at runtime.
|
public abstract oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl | getDatabaseSession()INTERNAL: getDatabaseSession(): Answer the instance of DatabaseSession the receiver is helping.
|
public abstract java.lang.Class | getExternalTransactionControllerClass()INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use
For this server platform. This is read-only.
If the subclasses of the ServerPlatformBase do not provide the Class desired, then
a new subclass should be created to return the desired class.
|
public abstract java.lang.String | getModuleName()INTERNAL: getModuleName(): Answer the name of the module (jar name) that my session
is associated with.
Answer "unknown" if there is no module name available.
|
public oracle.toplink.essentials.logging.SessionLog | getServerLog()INTERNAL: getServerLog(): Return the ServerLog for this platform
Return the default ServerLog in the base
|
public abstract java.lang.String | getServerNameAndVersion()PUBLIC: getServerNameAndVersion(): Talk to the relevant server class library, and get the server name
and version
|
public abstract void | initializeExternalTransactionController()INTERNAL: initializeExternalTransactionController(): Populate the DatabaseSession's
external transaction controller with an instance of my transaction controller class.
To change the external transaction controller class, we recommend creating a subclass of
ServerPlatformBase, and overriding getExternalTransactionControllerClass()
|
public abstract boolean | isJTAEnabled()INTERNAL: isJTAEnabled(): Answer true if the DatabaseSession's external transaction controller class will
be populated with my transaction controller class at runtime. If the transaction controller class is
overridden in the DatabaseSession, my transaction controller class will be ignored.
|
public abstract boolean | isRuntimeServicesEnabled()INTERNAL: isRuntimeServicesEnabled(): Answer true if the JMX/MBean providing runtime services for
the receiver's DatabaseSession will be deployed at runtime.
|
public void | launchContainerRunnable(java.lang.Runnable runnable)INTERNAL: launchContainerRunnable(Runnable runnable): Use the container library to
start the provided Runnable.
Default behaviour is to use Thread(runnable).start()
|
public abstract void | registerMBean()INTERNAL: registerMBean(): Create and deploy the JMX MBean to provide runtime services for my
databaseSession.
|
public void | setExternalTransactionControllerClass(java.lang.Class newClass)INTERNAL: setExternalTransactionControllerClass(Class newClass): Set the class of external
transaction controller to use in the DatabaseSession.
This is defined by the user via the sessions.xml.
|
public abstract void | unregisterMBean()INTERNAL: unregisterMBean(): Unregister the JMX MBean that was providing runtime services for my
databaseSession.
|
public java.sql.Connection | unwrapOracleConnection(oracle.toplink.essentials.internal.databaseaccess.Platform platform, java.sql.Connection connection)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)
This is added as a workaround for bug 4460996
|