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 49 public interface ServerPlatform { 50 51 56 public abstract DatabaseSessionImpl getDatabaseSession(); 57 58 64 public abstract String getServerNameAndVersion(); 65 66 73 public abstract String getModuleName(); 74 75 89 public abstract Class getExternalTransactionControllerClass(); 90 91 101 public void setExternalTransactionControllerClass(Class newClass); 102 103 115 public abstract void initializeExternalTransactionController(); 116 117 126 public abstract boolean isJTAEnabled(); 127 128 137 public abstract void disableJTA(); 138 139 146 public abstract boolean isRuntimeServicesEnabled(); 147 148 155 public abstract void disableRuntimeServices(); 156 157 166 public abstract void registerMBean(); 167 168 177 public abstract void unregisterMBean(); 178 179 185 public java.sql.Connection unwrapOracleConnection(Platform platform, java.sql.Connection connection); 186 187 196 public void launchContainerRunnable(Runnable runnable); 197 198 205 public oracle.toplink.essentials.logging.SessionLog getServerLog(); 206 } 207 | Popular Tags |