| 
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 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.NoServerPlatform
public final class NoServerPlatform
PUBLIC: This platform is used when EclipseLink is not within any server (Oc4j, WebLogic, ...) This is also the default platform for all newly created DatabaseSessions. This platform has: - No external transaction controller class - No runtime services (JMX/MBean) - No launching of container Threads
| Field Summary | 
|---|
| Fields inherited from class org.eclipse.persistence.platform.server.ServerPlatformBase | 
|---|
DEFAULT_SERVER_NAME_AND_VERSION, externalTransactionControllerClass, serverNameAndVersion | 
| Constructor Summary | |
|---|---|
NoServerPlatform(DatabaseSession newDatabaseSession)
INTERNAL: Default Constructor: Initialize so that runtime services and JTA are disabled.  | 
|
| Method Summary | |
|---|---|
 java.lang.Class | 
getExternalTransactionControllerClass()
INTERNAL: getExternalTransactionControllerClass(): Answer null because this does not apply.  | 
 SessionLog | 
getServerLog()
INTERNAL: getServerLog(): Return the ServerLog for this platform Return the default ServerLog in the base  | 
 java.lang.String | 
getServerNameAndVersion()
PUBLIC: getServerNameAndVersion(): Answer null because this does not apply to NoServerPlatform.  | 
 void | 
launchContainerThread(java.lang.Thread thread)
INTERNAL: launchContainerThread(Thread thread): Do nothing because container Threads are not launchable in this platform  | 
 java.sql.Connection | 
unwrapConnection(java.sql.Connection connection)
INTERNAL: When there is no server, the original connection will be returned  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public NoServerPlatform(DatabaseSession newDatabaseSession)
| Method Detail | 
|---|
public java.lang.String getServerNameAndVersion()
getServerNameAndVersion in interface ServerPlatformgetServerNameAndVersion in class ServerPlatformBasepublic java.lang.Class getExternalTransactionControllerClass()
getExternalTransactionControllerClass in interface ServerPlatformgetExternalTransactionControllerClass in class ServerPlatformBaseServerPlatformBase.isJTAEnabled(), 
ServerPlatformBase.disableJTA(), 
ServerPlatformBase.initializeExternalTransactionController()public void launchContainerThread(java.lang.Thread thread)
Thread - thread : the instance of Threadpublic SessionLog getServerLog()
getServerLog in interface ServerPlatformgetServerLog in class ServerPlatformBasepublic java.sql.Connection unwrapConnection(java.sql.Connection connection)
unwrapConnection in interface ServerPlatformunwrapConnection in class ServerPlatformBase
  | 
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||