net.sf.oval.guard
Class GuardInterceptor

java.lang.Object
  extended by 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

Nested Class Summary
protected static class GuardInterceptor.MethodInvocable
           
 
Constructor Summary
GuardInterceptor()
           
GuardInterceptor(Guard guard)
           
 
Method Summary
 Object construct(org.aopalliance.intercept.ConstructorInvocation constructorInvocation)
          
 Guard getGuard()
           
 Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
          
 void setGuard(Guard guard)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuardInterceptor

public GuardInterceptor()

GuardInterceptor

public GuardInterceptor(Guard guard)
Method Detail

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–2015 The OVal Development Team. All rights reserved.