Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-02


oracle.toplink.platform.server
Class ServerPlatformBase

java.lang.Object
  extended by oracle.toplink.platform.server.ServerPlatformBase

All Implemented Interfaces:
ServerPlatform
Direct Known Subclasses:
JBossPlatform, NoServerPlatform, Oc4jPlatform, SunAS9ServerPlatform, WebLogicPlatform, WebSpherePlatform

public abstract class ServerPlatformBase
extends java.lang.Object
implements ServerPlatform

Implementation of oracle.toplink.platform.server.ServerPlatform This is the abstract superclass of all platforms for all servers. Each DatabaseSession contains an instance of the receiver, to help the DatabaseSession determine: - Which external transaction controller to use - Whether or not to enable JTA (external transaction control) - How to register/unregister for runtime services (JMX/MBean) - Whether or not to enable runtime services - How to launch container Threads Subclasses already exist to provide configurations for Oc4J, WebLogic, and WebSphere. If the user wants a different external transaction controller class or to provide some different behavior than the provided ServerPlatform(s), we recommend subclassing oracle.toplink.platform.server.ServerPlatformBase (or a subclass), and overriding: ServerPlatformBase.getExternalTransactionControllerClass() ServerPlatformBase.registerMBean() ServerPlatformBase.unregisterMBean() for the desired behavior.

See Also:
public API: String getServerNameAndVersion()

Method Summary
 java.lang.String getServerNameAndVersion()
          getServerNameAndVersion(): Talk to the relevant server class library, and get the server name and version

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getServerNameAndVersion

public java.lang.String getServerNameAndVersion()
getServerNameAndVersion(): Talk to the relevant server class library, and get the server name and version
Specified by:
getServerNameAndVersion in interface ServerPlatform
Returns:
String serverNameAndVersion

Skip navigation links

Copyright © 1998, 2009, Oracle. All Rights Reserved.