no.mnemonic.services.common.api.ServiceSession Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of service-api Show documentation
Show all versions of service-api Show documentation
Common basic API and interfaces for services
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