Package org.glassfish.api.invocation
Interface ComponentInvocationHandler
-
- All Known Implementing Classes:
EntityManagerWrapper.NonTxEMCleaner
,PoolManagerImpl
,TransactionInvocationHandler
@Contract public interface ComponentInvocationHandler
ComponentInvocationHandler handles pre and post activities for a particular type of ComponentInvocation- Author:
- Mahesh Kannan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterPostInvoke(ComponentInvocation.ComponentInvocationType type, ComponentInvocation prev, ComponentInvocation cur)
Called after the curInv has been popped from the invocation stack.void
afterPreInvoke(ComponentInvocation.ComponentInvocationType type, ComponentInvocation prev, ComponentInvocation cur)
Called after the cur has been pushed into the invocation stack.void
beforePostInvoke(ComponentInvocation.ComponentInvocationType type, ComponentInvocation prev, ComponentInvocation cur)
Called before the cur has been popped from the invocation stack.void
beforePreInvoke(ComponentInvocation.ComponentInvocationType type, ComponentInvocation prev, ComponentInvocation cur)
Called before the cur is pushed into the invocation stack.
-
-
-
Method Detail
-
beforePreInvoke
void beforePreInvoke(ComponentInvocation.ComponentInvocationType type, ComponentInvocation prev, ComponentInvocation cur) throws InvocationException
Called before the cur is pushed into the invocation stack.- Throws:
InvocationException
-
afterPreInvoke
void afterPreInvoke(ComponentInvocation.ComponentInvocationType type, ComponentInvocation prev, ComponentInvocation cur) throws InvocationException
Called after the cur has been pushed into the invocation stack.- Throws:
InvocationException
-
beforePostInvoke
void beforePostInvoke(ComponentInvocation.ComponentInvocationType type, ComponentInvocation prev, ComponentInvocation cur) throws InvocationException
Called before the cur has been popped from the invocation stack.- Throws:
InvocationException
-
afterPostInvoke
void afterPostInvoke(ComponentInvocation.ComponentInvocationType type, ComponentInvocation prev, ComponentInvocation cur) throws InvocationException
Called after the curInv has been popped from the invocation stack.- Throws:
InvocationException
-
-