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 TypeMethodDescriptionvoid
afterPostInvoke
(ComponentInvocation.ComponentInvocationType invType, ComponentInvocation prevInv, ComponentInvocation curInv) Called after the curInv has been popped from the invocation stack.void
afterPreInvoke
(ComponentInvocation.ComponentInvocationType invType, ComponentInvocation prevInv, ComponentInvocation curInv) Called after the curInv has been pushed into the invocation stack.void
beforePostInvoke
(ComponentInvocation.ComponentInvocationType invType, ComponentInvocation prevInv, ComponentInvocation curInv) Called before the curInv has been popped from the invocation stack.void
beforePreInvoke
(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
-