# Uses of Interface
org.apache.tapestry5.plastic.MethodInvocation

Packages that use MethodInvocation
Package
Description
org.apache.tapestry5.internal.jpa
[INTERNAL USE ONLY] support classes for the JPA module; API subject to change
org.apache.tapestry5.internal.plastic
[INTERNAL USE ONLY] Plastic implementation details; API subject to change
org.apache.tapestry5.ioc.internal.services
[INTERNAL USE ONLY] Tapestry IOC service implementation classes; API subject to change.
org.apache.tapestry5.jcache.internal
org.apache.tapestry5.plastic
Plastic, Tapestry's component class transformation library based on ASM

- ## Uses of MethodInvocation in org.apache.tapestry5.internal.jpa

  Methods in org.apache.tapestry5.internal.jpa with parameters of type MethodInvocation
  Modifier and Type
  Method
  Description
  `void`
  CommitAfterMethodAdvice.`advise(MethodInvocation invocation)`

- ## Uses of MethodInvocation in org.apache.tapestry5.internal.plastic

  Classes in org.apache.tapestry5.internal.plastic that implement MethodInvocation
  Modifier and Type
  Class
  Description
  `class`
  `AbstractMethodInvocation`
  Methods in org.apache.tapestry5.internal.plastic that return MethodInvocation
  Modifier and Type
  Method
  Description
  `MethodInvocation`
  AbstractMethodInvocation.`proceed()`
  `MethodInvocation`
  AbstractMethodInvocation.`setCheckedException(Exception exception)`

- ## Uses of MethodInvocation in org.apache.tapestry5.ioc.internal.services

  Methods in org.apache.tapestry5.ioc.internal.services with parameters of type MethodInvocation
  Modifier and Type
  Method
  Description
  `void`
  LoggingAdvice.`advise(MethodInvocation invocation)`
  `void`
  MethodLogger.`entry(MethodInvocation invocation)`
  Invoked when a method is first entered
  `void`
  MethodLogger.`exit(MethodInvocation invocation)`
  Invoked when a method exits (possibly returning a value).
  `void`
  MethodLogger.`fail(MethodInvocation invocation, Throwable t)`
  Invoked when method invocation instead throws an exception.

- ## Uses of MethodInvocation in org.apache.tapestry5.jcache.internal

  Methods in org.apache.tapestry5.jcache.internal with parameters of type MethodInvocation
  Modifier and Type
  Method
  Description
  `void`
  CachePutMethodAdvice.`advise(MethodInvocation invocation)`
  `void`
  CacheRemoveAllMethodAdvice.`advise(MethodInvocation invocation)`
  `void`
  CacheRemoveMethodAdvice.`advise(MethodInvocation invocation)`
  `void`
  CacheResultMethodAdvice.`advise(MethodInvocation invocation)`
  `protected org.jsr107.ri.annotations.InternalCacheInvocationContext<? extends Annotation>`
  CacheLookupUtil.`createCacheInvocationContextImpl(org.jsr107.ri.annotations.StaticCacheInvocationContext<? extends Annotation> staticCacheInvocationContext, MethodInvocation invocation)`
  `protected org.jsr107.ri.annotations.InternalCacheKeyInvocationContext<? extends Annotation>`
  CacheLookupUtil.`createCacheKeyInvocationContextImpl(org.jsr107.ri.annotations.StaticCacheKeyInvocationContext<? extends Annotation> staticCacheKeyInvocationContext, MethodInvocation invocation)`
  `protected Method`
  CacheLookupUtil.`getMethod(MethodInvocation invocation)`
  `protected Method`
  TapestryIoCInternalCacheInvocationContext.`getMethod(MethodInvocation invocation)`
  `protected Method`
  TapestryIoCInternalCacheKeyInvocationContext.`getMethod(MethodInvocation invocation)`
  `protected Object[]`
  TapestryIoCInternalCacheInvocationContext.`getParameters(MethodInvocation invocation)`
  `protected Object[]`
  TapestryIoCInternalCacheKeyInvocationContext.`getParameters(MethodInvocation invocation)`
  `protected Object`
  TapestryIoCInternalCacheInvocationContext.`getTarget(MethodInvocation invocation)`
  `protected Object`
  TapestryIoCInternalCacheKeyInvocationContext.`getTarget(MethodInvocation invocation)`
  `protected Class<?>`
  CacheLookupUtil.`getTargetClass(MethodInvocation invocation)`
  `protected Object`
  CachePutMethodAdvice.`proceed(MethodInvocation invocation)`
  `protected Object`
  CacheRemoveAllMethodAdvice.`proceed(MethodInvocation invocation)`
  `protected Object`
  CacheRemoveMethodAdvice.`proceed(MethodInvocation invocation)`
  `protected Object`
  CacheResultMethodAdvice.`proceed(MethodInvocation invocation)`
  Constructors in org.apache.tapestry5.jcache.internal with parameters of type MethodInvocation
  Modifier
  Constructor
  Description
  ``
  `TapestryIoCInternalCacheInvocationContext(org.jsr107.ri.annotations.StaticCacheInvocationContext<A> staticCacheInvocationContext, MethodInvocation invocation)`
  Create new cache key invocation context for the static context and invocation
  ``
  `TapestryIoCInternalCacheKeyInvocationContext(org.jsr107.ri.annotations.StaticCacheKeyInvocationContext<A> staticCacheKeyInvocationContext, MethodInvocation invocation)`
  Create new cache key invocation context for the static context and invocation
  Constructor parameters in org.apache.tapestry5.jcache.internal with type arguments of type MethodInvocation
  Modifier
  Constructor
  Description
  ``
  `CachePutMethodAdvice(org.jsr107.ri.annotations.CacheContextSource<MethodInvocation> cacheContextSource)`
  Single constructor of this class.
  ``
  `CacheRemoveAllMethodAdvice(org.jsr107.ri.annotations.CacheContextSource<MethodInvocation> cacheContextSource)`
  Single constructor of this class.
  ``
  `CacheRemoveMethodAdvice(org.jsr107.ri.annotations.CacheContextSource<MethodInvocation> cacheContextSource)`
  Single constructor of this class.
  ``
  `CacheResultMethodAdvice(org.jsr107.ri.annotations.CacheContextSource<MethodInvocation> cacheContextSource)`
  Single constructor of this class.

- ## Uses of MethodInvocation in org.apache.tapestry5.plastic

  Methods in org.apache.tapestry5.plastic that return MethodInvocation
  Modifier and Type
  Method
  Description
  `MethodInvocation`
  MethodInvocation.`proceed()`
  Proceed with the method invocation, either chaining into the next `MethodAdvice` added to the method, or ultimately into the actual method implementation.
  `MethodInvocation`
  MethodInvocation.`setCheckedException(Exception exception)`
  Sets the checked exception; this can be used to indicate failure for the method, or to cancel the thrown exception (by setting the exception to null).
  `MethodInvocation`
  MethodInvocation.`setParameter(int index, Object newValue)`
  Changes a parameter value.
  `MethodInvocation`
  MethodInvocation.`setReturnValue(Object returnValue)`
  Overrides the return value of the method.
  Methods in org.apache.tapestry5.plastic with parameters of type MethodInvocation
  Modifier and Type
  Method
  Description
  `void`
  MethodAdvice.`advise(MethodInvocation invocation)`
  Advise the method, usually invoking `proceed()` at some point.