JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.aspects.confirmation
Class ConfirmationAC

java.lang.Object
  |
  +--org.objectweb.jac.core.AspectComponent
        |
        +--org.objectweb.jac.aspects.confirmation.ConfirmationAC
All Implemented Interfaces:
BaseProgramListener, ConfirmationConf, Serializable

public class ConfirmationAC
extends AspectComponent
implements ConfirmationConf

The confirmation aspect implementation (allows the user to add confirmation popups before committing.

See Also:
Serialized Form

Nested Class Summary
 class ConfirmationAC.ConfirmationWrapper
          A confirmation wrapper that wraps methods to show a confirmation message box before actually performing the call.
 
Field Summary
 
Fields inherited from class org.objectweb.jac.core.AspectComponent
application, blockKeywords, firstCall, NOT_SHARED, SHARED, startWeavingCCount, startWeavingCount, startWeavingMethod, startWeavingType, systemListener, wrappers
 
Fields inherited from interface org.objectweb.jac.core.BaseProgramListener
FOUND_OBJECT
 
Constructor Summary
ConfirmationAC()
           
 
Method Summary
 void confirm(String classes, String methods, String objects)
          This configuration method allows the user to set some methods to be confirmed.
 
Methods inherited from class org.objectweb.jac.core.AspectComponent
addWrapper, afterApplicationStarted, afterRunningWrapper, afterWrap, afterWrappeeInit, attr, attrdef, beforeConfiguration, beforeReload, beforeRunningWrapper, beforeWrappeeInit, configure, defines, defineTimer, doRegister, doUnregister, getApplication, getBlockKeywords, getConfigurationMethods, getConfigurationMethodsName, getConfigurationMethodsName, getDefaultConfigs, getName, getWrappers, init, isConfigurationMethod, isSystemListener, onExit, pointcut, pointcut, pointcut, pointcut, pointcut, pointcut, pointcut, pointcut, setApplication, setAttribute, setAttribute, setAttribute, setSystemListener, simulateUsingNewInstance, unweave, unwrapAll, weave, whenClone, whenCloseDisplay, whenConfigured, whenDeleted, whenDeserialized, whenFree, whenGetObjects, whenNameObject, whenObjectMiss, whenReload, whenRemoteInstantiation, whenSerialized, whenTopologyChanged, whenUsingNewClass, whenUsingNewInstance, whenUsingNewInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfirmationAC

public ConfirmationAC()
Method Detail

confirm

public void confirm(String classes,
                    String methods,
                    String objects)
Description copied from interface: ConfirmationConf
This configuration method allows the user to set some methods to be confirmed.

Specified by:
confirm in interface ConfirmationConf
Parameters:
classes - the classes the methods belongs to
objects - the instances the poincut applies to

Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli