|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface BridgeRequestScopeAttributeAdded
The BridgeRequestScopeAttributeAdded annotation is used on methods as a callback
notification to signal that the instance is in the process of being added
to the container's request scope and that this attribute will be managed
in the bridge request scope. This signal can be used by the instance to flag
that its javax.annotation.PreDestroy
method should not perform any cleanup
and instead rely on the method annotated with
javax.portlet.faces.annotation.PreDestroy
to do so. The method on
which the PreDestroy annotation is applied MUST
fulfill all of the following criteria - The method MUST NOT have any parameters -
The return type of the method MUST be void. - The method MUST NOT throw a checked
exception. - The method on which PreDestroy is applied MUST be public. - The
method MUST NOT be static. - The method MAY be final. - If the method throws an
unchecked exception it is ignored.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |