public interface ServerPlatform
ServerPlatformBase| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
disableRuntimeServices()
INTERNAL: disableRuntimeServices(): Configure the receiver such that no JMX/MBean will be registered
to provide runtime services for my DatabaseSession at runtime.
|
DatabaseSessionImpl |
getDatabaseSession()
INTERNAL: getDatabaseSession(): Answer the instance of DatabaseSession the receiver is helping.
|
Class |
getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use
For this server platform.
|
String |
getModuleName()
INTERNAL: getModuleName(): Answer the name of the module (jar name) that my session
is associated with.
|
SessionLog |
getServerLog()
INTERNAL: getServerLog(): Return the ServerLog for this platform
Return the default ServerLog in the base
|
String |
getServerNameAndVersion()
PUBLIC: getServerNameAndVersion(): Talk to the relevant server class library, and get the server name
and version
|
void |
initializeExternalTransactionController()
INTERNAL: initializeExternalTransactionController(): Populate the DatabaseSession's
external transaction controller with an instance of my transaction controller class.
|
boolean |
isJTAEnabled()
INTERNAL: isJTAEnabled(): Answer true if the DatabaseSession's external transaction controller class will
be populated with my transaction controller class at runtime.
|
boolean |
isRuntimeServicesEnabled()
INTERNAL: isRuntimeServicesEnabled(): Answer true if the JMX/MBean providing runtime services for
the receiver's DatabaseSession will be deployed at runtime.
|
void |
launchContainerRunnable(Runnable runnable)
INTERNAL: launchContainerRunnable(Runnable runnable): Use the container library to
start the provided Runnable.
|
void |
registerMBean()
INTERNAL: registerMBean(): Create and deploy the JMX MBean to provide runtime services for my
databaseSession.
|
void |
setExternalTransactionControllerClass(Class newClass)
INTERNAL: setExternalTransactionControllerClass(Class newClass): Set the class of external
transaction controller to use in the DatabaseSession.
|
void |
unregisterMBean()
INTERNAL: unregisterMBean(): Unregister the JMX MBean that was providing runtime services for my
databaseSession.
|
Connection |
unwrapOracleConnection(Platform platform,
Connection connection)
INTERNAL: This method is used to unwrap the oracle connection wrapped by
the application server.
|
DatabaseSessionImpl getDatabaseSession()
String getServerNameAndVersion()
String getModuleName()
Class getExternalTransactionControllerClass()
JTATransactionController,
isJTAEnabled(),
disableJTA(),
initializeExternalTransactionController()void setExternalTransactionControllerClass(Class newClass)
void initializeExternalTransactionController()
ServerPlatformBaseboolean isJTAEnabled()
getExternalTransactionControllerClass(),
disableJTA()void disableJTA()
boolean isRuntimeServicesEnabled()
disableRuntimeServices()void disableRuntimeServices()
isRuntimeServicesEnabled()void registerMBean()
void unregisterMBean()
Connection unwrapOracleConnection(Platform platform, Connection connection)
void launchContainerRunnable(Runnable runnable)
Runnable - runnable: the instance of runnable to be "started"SessionLog getServerLog()
Copyright © 2023. All rights reserved.