Package org.apache.tapestry5.ioc.internal

# Class AbstractMethodInvokingInstrumenter

java.lang.Object
org.apache.tapestry5.ioc.internal.AbstractMethodInvokingInstrumenter

Direct Known Subclasses:
  `ServiceAdvisorImpl`, `ServiceDecoratorImpl`

public class AbstractMethodInvokingInstrumenter extends Object
Base class for service decorators and service advisors that work by invoking a module method.

Since:
  5.1.0.0

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected final Method`
  `method`
  `protected final Map<Class,Object>`
  `resourcesDefaults`
  `protected final String`
  `serviceId`
  `protected final Class`
  `serviceInterface`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractMethodInvokingInstrumenter(ModuleBuilderSource moduleSource, Method method, ServiceResources resources, PlasticProxyFactory proxyFactory)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected Object`
  `invoke(InjectionResources injectionResources)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### resourcesDefaults

    protected final Map<Class,Object> resourcesDefaults

  - ### method

    protected final Method method

  - ### serviceInterface

    protected final Class serviceInterface

  - ### serviceId

    protected final String serviceId

- ## Constructor Details

  - ### AbstractMethodInvokingInstrumenter

    public AbstractMethodInvokingInstrumenter(ModuleBuilderSource moduleSource, Method method, ServiceResources resources, PlasticProxyFactory proxyFactory)

- ## Method Details

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### invoke

    protected Object invoke(InjectionResources injectionResources)