All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atomikos.eclipselink.platform.AtomikosPlatform Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
/**
 * Copyright (C) 2000-2023 Atomikos 
 *
 * LICENSE CONDITIONS
 *
 * See http://www.atomikos.com/Main/WhichLicenseApplies for details.
 */

package com.atomikos.eclipselink.platform;

import org.eclipse.persistence.platform.server.ServerPlatformBase;
import org.eclipse.persistence.sessions.DatabaseSession;

import com.atomikos.util.Atomikos;

public class AtomikosPlatform extends ServerPlatformBase {

	public AtomikosPlatform(DatabaseSession newDatabaseSession) {
		super(newDatabaseSession);
		disableRuntimeServices();
	}

	@Override
	public Class getExternalTransactionControllerClass() {

		return AtomikosTransactionController.class;
	}

	@Override
	protected void initializeServerNameAndVersion() {
		this.serverNameAndVersion="Atomikos: "+Atomikos.VERSION;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy