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


Class ServerPlatformBase

  extended by oracle.toplink.platform.server.ServerPlatformBase
All Implemented Interfaces:
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


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
String serverNameAndVersion

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