|
EclipseLink 1.1.0_ 1.1.0.r3634 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.persistence.platform.server.ServerPlatformBase
org.eclipse.persistence.platform.server.CustomServerPlatform
public final class CustomServerPlatform
INTERNAL: This is the concrete subclass responsible for handling backward compatibility for 9.0.4. This platform overrides: getExternalTransactionControllerClass(): to use a user-specified controller class This platform adds: setExternalTransactionControllerClass(Class newClass): to allow the user to define the external transaction controller when the 904 sessions.xml defines an external-transaction-controller-class.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase |
|---|
DEFAULT_SERVER_NAME_AND_VERSION, externalTransactionControllerClass, serverNameAndVersion |
| Constructor Summary | |
|---|---|
CustomServerPlatform(DatabaseSession newDatabaseSession)
INTERNAL: Default Constructor: JTA is disabled until a transaction controller class is set. |
|
| Method Summary | |
|---|---|
protected void |
externalTransactionControllerNotNullWarning()
INTERNAL: externalTransactionControllerNotNullWarning(): When the external transaction controller is being initialized, we warn the developer if they have already defined the external transaction controller in some way other than subclassing ServerPlatformBase. |
java.lang.Class |
getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer the class of external transaction controller to use in the DatabaseSession This is defined by the user via the 904 sessions.xml. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomServerPlatform(DatabaseSession newDatabaseSession)
| Method Detail |
|---|
public java.lang.Class getExternalTransactionControllerClass()
getExternalTransactionControllerClass in interface ServerPlatformgetExternalTransactionControllerClass in class ServerPlatformBaseJTATransactionController,
ServerPlatformBase.isJTAEnabled(),
ServerPlatformBase.disableJTA(),
ServerPlatformBase.initializeExternalTransactionController()protected void externalTransactionControllerNotNullWarning()
externalTransactionControllerNotNullWarning in class ServerPlatformBaseServerPlatformBase
|
EclipseLink 1.1.0_ 1.1.0.r3634 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||