org.apache.tapestry5.ioc.internal
Class AbstractMethodInvokingInstrumenter

java.lang.Object
  extended by 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
protected  Method method
           
protected  Map<Class,Object> resourcesDefaults
           
protected  String serviceId
           
protected  Class serviceInterface
           
 
Constructor Summary
AbstractMethodInvokingInstrumenter(ModuleBuilderSource moduleSource, Method method, ServiceResources resources, PlasticProxyFactory proxyFactory)
           
 
Method Summary
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 Detail

resourcesDefaults

protected final Map<Class,Object> resourcesDefaults

method

protected final Method method

serviceInterface

protected final Class serviceInterface

serviceId

protected final String serviceId
Constructor Detail

AbstractMethodInvokingInstrumenter

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

toString

public String toString()
Overrides:
toString in class Object

invoke

protected Object invoke(InjectionResources injectionResources)


Copyright © 2003-2012 The Apache Software Foundation.