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

no.mnemonic.services.common.api.ServiceSession Maven / Gradle / Ivy

There is a newer version: 0.6.15
Show newest version
package no.mnemonic.services.common.api;

/**
 * The service session should be used in a way that
 * ensures closing of the session when the client exists.
 *
 * Recommended usage is to use try-with-resources:
 * 
 *   try (ServiceSession sess = service.openSession()) {
 *     //do service calls
 *   }
 * 
 */
public interface ServiceSession extends AutoCloseable {

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy