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

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

 /**
  * Marker interface for system components whose order of init
  * and close is important for correct behavior of the 
  * transaction system. The knowledge of ordering is supposed to 
  * be present elsewhere - in the system configuration.
  */

public interface OrderedLifecycleComponent {

	/**
	 * 
	 * @throws Exception Implementations are free to narrow the exception
	 * or even not throw anything.
	 */
	
	void init() throws Exception;
	
	/**
	 * 
	 * @throws Exception Implementations are free to narrow the exception
	 * or even not throw anything.
	 */
	
	void close() throws Exception;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy