net.sf.oval.guard
Class GuardInterceptor
java.lang.Object
net.sf.oval.guard.GuardInterceptor
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.ConstructorInterceptor, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class GuardInterceptor
- extends Object
- implements org.aopalliance.intercept.MethodInterceptor, org.aopalliance.intercept.ConstructorInterceptor
AOP Alliance Interceptor implementation of the Guard aspect
- Author:
- Sebastian Thomschke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuardInterceptor
public GuardInterceptor()
GuardInterceptor
public GuardInterceptor(Guard guard)
construct
public Object construct(org.aopalliance.intercept.ConstructorInvocation constructorInvocation)
throws Throwable
-
- Specified by:
construct
in interface org.aopalliance.intercept.ConstructorInterceptor
- Throws:
Throwable
getGuard
public Guard getGuard()
- Returns:
- the guard
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws Throwable
-
- Specified by:
invoke
in interface org.aopalliance.intercept.MethodInterceptor
- Throws:
Throwable
setGuard
public void setGuard(Guard guard)
Copyright © 2005-2013 The OVal Development Team. All Rights Reserved.