JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.aspects.integrity
Class RepositoryWrapper

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

public class RepositoryWrapper
extends Wrapper

This wrapper manages repository collections.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jac.core.Wrapper
ac
 
Constructor Summary
RepositoryWrapper(AspectComponent ac, String repositoryName, CollectionItem collection, FieldItem field)
           
 
Method Summary
 Object addToRepository(Interaction interaction)
          Adds the object added to field to the repository
 Object doAddToRepository(Interaction interaction)
          Disables addToRepository
 Object removeFromRepository(Interaction interaction)
           
 
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

RepositoryWrapper

public RepositoryWrapper(AspectComponent ac,
                         String repositoryName,
                         CollectionItem collection,
                         FieldItem field)
Method Detail

addToRepository

public Object addToRepository(Interaction interaction)
Adds the object added to field to the repository


doAddToRepository

public Object doAddToRepository(Interaction interaction)
Disables addToRepository


removeFromRepository

public Object removeFromRepository(Interaction interaction)

Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli