JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.aspects.confirmation
Class ConfirmationAC.ConfirmationWrapper

java.lang.Object
  |
  +--org.objectweb.jac.core.Wrapper
        |
        +--org.objectweb.jac.aspects.confirmation.ConfirmationAC.ConfirmationWrapper
All Implemented Interfaces:
Serializable
Enclosing class:
ConfirmationAC

public class ConfirmationAC.ConfirmationWrapper
extends Wrapper

A confirmation wrapper that wraps methods to show a confirmation message box before actually performing the call.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jac.core.Wrapper
ac
 
Constructor Summary
ConfirmationAC.ConfirmationWrapper(AspectComponent ac)
           
 
Method Summary
 void catchCancellation(org.objectweb.jac.aspects.confirmation.OperationCanceledException e)
          The exception handler.
 Object confirm(Interaction interaction)
          The wrapping method.
 
Methods inherited from class org.objectweb.jac.core.Wrapper
attr, attrdef, defines, getAspectComponent, getAspectComponentName, getExceptionHandlers, proceed, setAspectComponent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfirmationAC.ConfirmationWrapper

public ConfirmationAC.ConfirmationWrapper(AspectComponent ac)
Method Detail

confirm

public Object confirm(Interaction interaction)
               throws org.objectweb.jac.aspects.confirmation.OperationCanceledException
The wrapping method.

org.objectweb.jac.aspects.confirmation.OperationCanceledException

catchCancellation

public void catchCancellation(org.objectweb.jac.aspects.confirmation.OperationCanceledException e)
The exception handler.


Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli