Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Event Processing
12c Release 1 (12.1.3.0.0)

E54267-01
FRAMES    NO FRAMES
DETAIL:  FIELD | CONSTR | METHOD


com.bea.wlevs.configuration
Interface Rollback


public interface Rollback
extends java.lang.annotation.Annotation

Indicates that a method is used to rollback a configuration update. The Rollback method is called following a successful Prepare invocation when some other stage that is part of the same configuration update signals that the update is invalid by throwing an exception from its Prepare method. The Rollback method must perform any cleanup work that is needed due to processing that occurred during the Prepare callback.

The annotated method must have a single parameter whose type is the same as that of the containing class's Prepare method. The return type of the method must be void. Only a single method on a class may be annotated with the Rollback annotation, however, both a superclass and its subclass may be annotated. In this case, the subclass method will be invoked before invoking the superclass method.

A class that contains a Prepare method must also contain an Rollback method.


Methods inherited from interface java.lang.annotation.Annotation
annotationType, equals, hashCode, toString

 


Overview  Package   Class   Use  Tree  Deprecated  Index  Help 
Copyright © 2007, 2014 Oracle and/or its affiliates. All rights reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD