org.apache.tapestry5.ioc.internal
Class ServiceBuilderMethodInvoker

java.lang.Object
  extended by org.apache.tapestry5.ioc.internal.AbstractServiceCreator
      extended by org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker
All Implemented Interfaces:
ObjectCreator

public class ServiceBuilderMethodInvoker
extends AbstractServiceCreator

Basic implementation of ObjectCreator that handles invoking a method on the module builder, and figures out the correct parameters to pass into the annotated method.


Field Summary
 
Fields inherited from class org.apache.tapestry5.ioc.internal.AbstractServiceCreator
creatorDescription, logger, resources, serviceId
 
Constructor Summary
ServiceBuilderMethodInvoker(ServiceBuilderResources resources, String creatorDescription, Method method)
           
 
Method Summary
 Object createObject()
          Invoked from the proxy to create the actual service implementation.
 String toString()
           
 
Methods inherited from class org.apache.tapestry5.ioc.internal.AbstractServiceCreator
createInjectionResources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceBuilderMethodInvoker

public ServiceBuilderMethodInvoker(ServiceBuilderResources resources,
                                   String creatorDescription,
                                   Method method)
Method Detail

createObject

public Object createObject()
Invoked from the proxy to create the actual service implementation.


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2012 The Apache Software Foundation.