javax.annotation.WillCloseWhenClosed Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tenant-security-java Show documentation
Show all versions of tenant-security-java Show documentation
Java client library for the IronCore Labs Tenant Security Proxy.
package javax.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Used to annotate a constructor/factory parameter to indicate that returned
* object (X) will close the resource when X is closed.
*
* @see WillClose
* @see WillNotClose
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface WillCloseWhenClosed {
}