Annotation Interface AutoDispose


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface AutoDispose
Designates a remote interface as supporting automatic disposal when the client-side object is reclaimed by the garbage collector. Automatic disposal doesn't work for the root object, and it doesn't work when a reference cycle is formed between client-side and remote-side objects.
See Also: