Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.apache.tapestry5.annotations
Annotation Type DiscardAfter

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

Marks a method of a page or a component to discard all persistent field changes. The changes are eliminated from persistent storage after the marked method is invoked. Any exception (runtime or checked) thrown by annotated method will cause persistent fields to keep their values.

Since:
  5.2.0
See Also:
  `ComponentResources.discardPersistentFieldChanges()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2003-2012 The Apache Software Foundation.