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

com.atomikos.icatch.TransactionServicePlugin 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.icatch;


 /**
  * A plugin interface for transaction service extension modules.
  * Instances can register themselves via the ServiceLoader mechanism
  * in order to be notified about startup and shutdown events.
  */

public interface TransactionServicePlugin
{
     /**
      * Called before initialization of the transaction core.
      * 
      * 
      * DISCLAIMER: only implementations that register with the ServiceLoader
      * mechanism are sure of receiving this notification. Other implementations
      * should be aware that the transaction core may already be running by the 
      * time they register - in which case there will be no callback.
      * 
      */
      
    void beforeInit();
    
    /**
     * Called after initialization of the transaction core.
     */
    
    void afterInit();
    
     /** 
      * Called after shutdown of the transaction core.
      */
      
    void afterShutdown(); 
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy