@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface BridgePreDestroy
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:
Copyright © 2018 Liferay, Inc. All rights reserved.