Package org.jboss.weld.bean.proxy
Class InterceptionDecorationContext.Stack
- java.lang.Object
-
- org.jboss.weld.bean.proxy.InterceptionDecorationContext.Stack
-
- All Implemented Interfaces:
RequestScopedItem
- Enclosing class:
- InterceptionDecorationContext
public static class InterceptionDecorationContext.Stack extends Object implements RequestScopedItem
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
end()
void
invalidate()
Method that is called when the request endsCombinedInterceptorAndDecoratorStackMethodHandler
peek()
int
size()
boolean
startIfNotOnTop(CombinedInterceptorAndDecoratorStackMethodHandler context)
Pushes the given context to the stack if the given context is not on top of the stack already.String
toString()
-
-
-
Method Detail
-
startIfNotOnTop
public boolean startIfNotOnTop(CombinedInterceptorAndDecoratorStackMethodHandler context)
Pushes the given context to the stack if the given context is not on top of the stack already. If push happens, the caller is responsible for callingInterceptionDecorationContext.endInterceptorContext()
after the invocation finishes.- Parameters:
context
- the given context- Returns:
- true if the given context was pushed to the top of the stack, false if the given context was on top already
-
end
public void end()
-
peek
public CombinedInterceptorAndDecoratorStackMethodHandler peek()
-
invalidate
public void invalidate()
Description copied from interface:RequestScopedItem
Method that is called when the request ends- Specified by:
invalidate
in interfaceRequestScopedItem
-
size
public int size()
-
-