|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.core.AspectComponent | +--org.objectweb.jac.aspects.confirmation.ConfirmationAC
The confirmation aspect implementation (allows the user to add confirmation popups before committing.
Nested Class Summary | |
static 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, cr, currentConfigMethod, currentImports, 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)
Allows the user to set some methods to be confirmed. |
void |
confirm(String classes,
String methods,
String objects,
String message)
Tells that some methods should be confirmed, with a custom message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConfirmationAC()
Method Detail |
public void confirm(String classes, String methods, String objects)
ConfirmationConf
confirm
in interface ConfirmationConf
classes
- the classes the methods belongs tomethods
- a method-pointcut expression denoting sets of methodsobjects
- the instances the poincut applies topublic void confirm(String classes, String methods, String objects, String message)
ConfirmationConf
confirm
in interface ConfirmationConf
classes
- the classes the methods belongs to (a class-pointcut expression)methods
- a method-pointcut expression denoting sets of methodsobjects
- the instances the poincut applies tomessage
- the custom confirmation message
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |