Package org.apache.tapestry5.ioc
Interface ServiceBuilder<T>
-
public interface ServiceBuilder<T>
A callback used to create a service implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
-