javax.portlet.faces.annotation
Annotation Type BridgePreDestroy


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface BridgePreDestroy

The BridgePreDestroy annotation is used on methods as a callback notification to signal that the instance is in the process of being removed by the bridge from the bridge request scope. This method complements one using PreDestroy to allow the object to release resources that it has been holding. It exists because the existing pre-destroy method must be ignored as it is called by the container even though the bridge continues to manage the object in its request scope. The method on which this annotation is applied MUST fulfill all of the following criteria:

Author:
Michael Freedman, Neil Griffin



Copyright © 2017 Liferay, Inc. All Rights Reserved.