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

org.glowroot.agent.shaded.javax.annotation.WillCloseWhenClosed Maven / Gradle / Ivy

There is a newer version: 0.14.0-beta.3
Show newest version
package org.glowroot.agent.shaded.org.glowroot.agent.it.harness.shaded.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 {

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy