My favorites | Sign in
Project Home Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package javax.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@Documented
@Retention(RetentionPolicy.RUNTIME)
/**
* Used to annotate a constructor/factory parameter to indicate that returned
* object (X) will close the resource when X is closed.
*/
public @interface WillCloseWhenClosed {

}

Change log

r43 by bill.pugh on Aug 24, 2008   Diff
use spaces rather than evil tabs
Go to: 
Project members, sign in to write a code review

Older revisions

r41 by bill.pugh on Jul 15, 2008   Diff
import cleanup

Don't specify Target unless really
needed; enumerating targets isn't
JSR-308 friendly
r13 by bill.pugh on Jun 14, 2007   Diff
updates
r12 by bill.pugh on Jun 14, 2007   Diff
[No log message]
All revisions of this file

File info

Size: 385 bytes, 15 lines
Powered by Google Project Hosting