org.objectweb.jac.aspects.user
Class UserAC.OwnerFilterWrapper
java.lang.Object
org.objectweb.jac.core.Wrapper
org.objectweb.jac.aspects.user.UserAC.OwnerFilterWrapper
- All Implemented Interfaces:
- Advice, ConstructorInterceptor, Interceptor, MethodInterceptor, Serializable
- Enclosing class:
- UserAC
- public class UserAC.OwnerFilterWrapper
- extends Wrapper
- See Also:
- Serialized Form
Fields inherited from class org.objectweb.jac.core.Wrapper |
ac, cr |
UserAC.OwnerFilterWrapper
public UserAC.OwnerFilterWrapper(AspectComponent ac)
UserAC.OwnerFilterWrapper
public UserAC.OwnerFilterWrapper(AspectComponent ac,
String profileName)
filterResult
public Object filterResult(Interaction interaction)
- Filters the result of a collection's getter to keep only the
object that are owned by the currently logged user.
invoke
public Object invoke(MethodInvocation invocation)
throws Throwable
- Specified by:
invoke
in interface MethodInterceptor
- Overrides:
invoke
in class Wrapper
- Throws:
Throwable