Silk DI 0.6


se.jbee.inject.service
Interface ServiceProvider


public interface ServiceProvider

A ServiceProvider resolves ServiceMethods by Type.

Author:
Jan Bernitt (jan@jbee.se)

Method Summary
<P,R> ServiceMethod<P,R>
provide(Type<P> parameterType, Type<R> returnType)
           
 

Method Detail

provide

<P,R> ServiceMethod<P,R> provide(Type<P> parameterType,
                                 Type<R> returnType)
Returns:
the ServiceMethod that implements a service having the given parameter and return Type.

Silk DI 0.6