org.apache.tapestry5.ioc.internal
Interface ObjectCreatorSource

All Known Implementing Classes:
ReloadableObjectCreatorSource

public interface ObjectCreatorSource

An object which can, when passed a ServiceBuilderResources, create a corresponding ObjectCreator. A secondary responsibility is to provide a description of the creator, which is usually based on the name of the method or constructor to be invoked, and is ultimately used in some debugging or error output.


Method Summary
 ObjectCreator constructCreator(ServiceBuilderResources resources)
          Provides an ObjectCreator that can be used to ultimately instantiate the core service implementation.
 String getDescription()
          Returns a description of the method or constructor that creates the service.
 

Method Detail

constructCreator

ObjectCreator constructCreator(ServiceBuilderResources resources)
Provides an ObjectCreator that can be used to ultimately instantiate the core service implementation.


getDescription

String getDescription()
Returns a description of the method or constructor that creates the service.



Copyright © 2003-2012 The Apache Software Foundation.