Package org.glassfish.api.invocation
Interface ComponentInvocationHandler
@Contract
public interface ComponentInvocationHandler
ComponentInvocationHandler handles pre and post activities for a particular type of ComponentInvocation
- Author:
- Mahesh Kannan
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterPostInvoke(ComponentInvocation.ComponentInvocationType invType, ComponentInvocation prevInv, ComponentInvocation curInv) Called after the curInv has been popped from the invocation stack.voidafterPreInvoke(ComponentInvocation.ComponentInvocationType invType, ComponentInvocation prevInv, ComponentInvocation curInv) Called after the curInv has been pushed into the invocation stack.voidbeforePostInvoke(ComponentInvocation.ComponentInvocationType invType, ComponentInvocation prevInv, ComponentInvocation curInv) Called before the curInv has been popped from the invocation stack.voidbeforePreInvoke(ComponentInvocation.ComponentInvocationType invType, ComponentInvocation prevInv, ComponentInvocation newInv) Called before the curInv is pushed into the invocation stack.
-
Method Details
-
beforePreInvoke
void beforePreInvoke(ComponentInvocation.ComponentInvocationType invType, ComponentInvocation prevInv, ComponentInvocation newInv) throws InvocationException Called before the curInv is pushed into the invocation stack.- Parameters:
invType-prevInv-newInv-- Throws:
InvocationException
-
afterPreInvoke
void afterPreInvoke(ComponentInvocation.ComponentInvocationType invType, ComponentInvocation prevInv, ComponentInvocation curInv) throws InvocationException Called after the curInv has been pushed into the invocation stack.- Parameters:
invType-prevInv-curInv-- Throws:
InvocationException
-
beforePostInvoke
void beforePostInvoke(ComponentInvocation.ComponentInvocationType invType, ComponentInvocation prevInv, ComponentInvocation curInv) throws InvocationException Called before the curInv has been popped from the invocation stack.- Parameters:
invType-prevInv-curInv-- Throws:
InvocationException
-
afterPostInvoke
void afterPostInvoke(ComponentInvocation.ComponentInvocationType invType, ComponentInvocation prevInv, ComponentInvocation curInv) throws InvocationException Called after the curInv has been popped from the invocation stack.- Parameters:
invType-prevInv-curInv-- Throws:
InvocationException
-