|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented @UseWith(value=SERVICE) public @interface PostInjection
Annotation for methods that should be invoked after injection. This occurs last: after constructor injection and after field injection. It should be placed on a public method. Any return value from the method is ignored. The order of invocation for classes with multiple marked methods (including methods inherited from super-classes) is not, at this time, defined.
Tapestry also honors thePostConstruct
annotation, and treats it identically to
PostInjection. This is both more flexible than PostConstruct (in that methods may have parameters, and multiple methods
may be annotated) but also falls short (Tapestry will only seek out public methods).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |