JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.aspects.integrity
Class ConstraintWrapper

java.lang.Object
  |
  +--org.objectweb.jac.core.Wrapper
        |
        +--org.objectweb.jac.aspects.integrity.ConstraintWrapper
All Implemented Interfaces:
Serializable

public class ConstraintWrapper
extends Wrapper

This wrapper provides a constraints scheme to limit fields modifications.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jac.core.Wrapper
ac
 
Constructor Summary
ConstraintWrapper(AspectComponent ac)
           
 
Method Summary
 Object testConditions(Interaction interaction)
          This wrapping method checks if pre and post conditions are validated for modified fields.
 
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

ConstraintWrapper

public ConstraintWrapper(AspectComponent ac)
Method Detail

testConditions

public Object testConditions(Interaction interaction)
                      throws Exception
This wrapping method checks if pre and post conditions are validated for modified fields.

Exception

Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli