1 21 package oracle.toplink.essentials.platform.server; 23 24 import oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl; 25 import oracle.toplink.essentials.internal.databaseaccess.Platform; 26 27 41 public final class NoServerPlatform extends ServerPlatformBase { 42 43 47 public NoServerPlatform(DatabaseSessionImpl newDatabaseSession) { 48 super(newDatabaseSession); 49 this.disableRuntimeServices(); 50 ; 51 this.disableJTA(); 52 } 53 54 59 public String getServerNameAndVersion() { 60 return null; 61 } 62 63 70 public Class getExternalTransactionControllerClass() { 71 return null; 72 } 73 74 81 public void launchContainerThread(Thread thread) { 82 } 83 84 91 public oracle.toplink.essentials.logging.SessionLog getServerLog() { 92 return getDatabaseSession().getSessionLog(); 93 } 94 95 99 public java.sql.Connection unwrapOracleConnection(Platform platform, java.sql.Connection connection){ 100 return connection; 101 } 102 } 103 | Popular Tags |