org.objectweb.jac.aspects.integrity
Class ConstraintWrapper
java.lang.Object
|
+--org.objectweb.jac.core.Wrapper
|
+--org.objectweb.jac.aspects.integrity.ConstraintWrapper
- All Implemented Interfaces:
- Advice, ConstructorInterceptor, Interceptor, MethodInterceptor, Serializable
- public class ConstraintWrapper
- extends Wrapper
This wrapper provides a constraints scheme to limit fields
modifications.
- See Also:
- Serialized Form
Fields inherited from class org.objectweb.jac.core.Wrapper |
ac, cr |
ConstraintWrapper
public ConstraintWrapper(AspectComponent ac)
testConditions
public Object testConditions(Interaction interaction)
throws Exception
- This wrapping method checks if pre and post conditions are
validated for modified fields.
Exception
invoke
public Object invoke(MethodInvocation invocation)
throws Throwable
- Specified by:
invoke
in interface MethodInterceptor
- Overrides:
invoke
in class Wrapper
Throwable