org.jboss.cdi.tck.tests.extensions.interceptors
Class IncrementingInterceptor

java.lang.Object
  extended by org.jboss.cdi.tck.tests.extensions.interceptors.IncrementingInterceptor

@Interceptor
public class IncrementingInterceptor
extends Object

Interceptor that adds one to the result of a method

Author:
Stuart Douglas

Constructor Summary
IncrementingInterceptor()
           
 
Method Summary
 Object doAround(javax.interceptor.InvocationContext context)
           
static boolean isDoAroundCalled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncrementingInterceptor

public IncrementingInterceptor()
Method Detail

doAround

public Object doAround(javax.interceptor.InvocationContext context)
                throws Exception
Throws:
Exception

isDoAroundCalled

public static boolean isDoAroundCalled()


Copyright © 2008-2012 Seam Framework. All Rights Reserved.