org.jboss.weld.bean.proxy
Class InterceptionDecorationContext

java.lang.Object
  extended by org.jboss.weld.bean.proxy.InterceptionDecorationContext

public class InterceptionDecorationContext
extends Object

A class that holds the interception (and decoration) contexts which are currently in progress.

An interception context is a set of CombinedInterceptorAndDecoratorStackMethodHandler references for which interception is currently suppressed (so that self-invocation is not possible). Such references are added as soon as a CombinedMethodHandler is executed in an interception context that does not hold it.

Classes may create new interception contexts as necessary (e.g. allowing client proxies to create new interception contexts in order to make circular references interceptable multiple times).

Author:
Marius Bogoevici

Constructor Summary
InterceptionDecorationContext()
           
 
Method Summary
static boolean empty()
           
static void endInterceptorContext()
           
static Set<CombinedInterceptorAndDecoratorStackMethodHandler> peek()
           
static void startInterceptorContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptionDecorationContext

public InterceptionDecorationContext()
Method Detail

peek

public static Set<CombinedInterceptorAndDecoratorStackMethodHandler> peek()

empty

public static boolean empty()

endInterceptorContext

public static void endInterceptorContext()

startInterceptorContext

public static void startInterceptorContext()


Copyright © 2013 Seam Framework. All Rights Reserved.