org.apache.tapestry5.annotations
Annotation Type PageDetached


Deprecated. In Tapestry 5.3, with no replacement (detach logic no longer meaningful now that pages are singletons).

@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
@UseWith(value={COMPONENT,MIXIN,PAGE})
public @interface PageDetached

Method annotation used for methods that should be invoked when the page is detached at the end of a request, before it is returned to the page pool for later reuse.

PageDetached methods should take no parameters and return void. They must either have this annotation, or be named "pageDetached".

To be clear: methods with this annotation (or name) are still invoked even in Tapestry 5.2, which does away with the page pool.

See Also:
PageAttached



Copyright © 2003-2012 The Apache Software Foundation.