@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface BridgePreDestroy
javax.annotation.PreDestroy to allow the object to release resources that it has been holding. It exists
because the existing javax.annotation.PreDestroy 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 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.Copyright © 2015 JBoss by Red Hat. All rights reserved.