org.apache.tapestry5.ioc
Interface ServiceBuilder<T>


public interface ServiceBuilder<T>

A callback used to create a service implementation.


Method Summary
 T buildService(ServiceResources resources)
          Construct the service.
 

Method Detail

buildService

T buildService(ServiceResources resources)
Construct the service. A non-null object that implements the service interface must be returned.

Parameters:
resources - used to lookup dependencies or access resources
Returns:
the core service implementation


Copyright © 2003-2012 The Apache Software Foundation.