static <S> com.jnape.palatable.lambda.functions.specialized.Kleisli<App,App,com.jnape.palatable.lambda.io.IO<?>,com.jnape.palatable.lambda.io.IO<App>> |
App.bind(ServiceHandle<S> handle,
Service<S> service) |
|
static <S> com.jnape.palatable.lambda.functions.specialized.Kleisli<App,S,com.jnape.palatable.lambda.io.IO<?>,com.jnape.palatable.lambda.io.IO<S>> |
App.resolve(ServiceHandle<S> handle) |
|
static <S,Dep> Service<S> |
Service.service(ServiceHandle<Dep> handle,
com.jnape.palatable.lambda.functions.Fn1<Dep,Service<S>> fn) |
Constructs a Service with one dependency.
|
static <S,Dep1,Dep2> Service<S> |
Service.service(ServiceHandle<Dep1> handle1,
ServiceHandle<Dep2> handle2,
com.jnape.palatable.lambda.functions.Fn2<Dep1,Dep2,Service<S>> fn) |
Constructs a Service with two dependencies.
|
static <S,Dep1,Dep2,Dep3> Service<S> |
Service.service(ServiceHandle<Dep1> handle1,
ServiceHandle<Dep2> handle2,
ServiceHandle<Dep3> handle3,
com.jnape.palatable.lambda.functions.Fn3<Dep1,Dep2,Dep3,Service<S>> fn) |
Constructs a Service with three dependencies.
|
static <S,Dep1,Dep2,Dep3,Dep4> Service<S> |
Service.service(ServiceHandle<Dep1> handle1,
ServiceHandle<Dep2> handle2,
ServiceHandle<Dep3> handle3,
ServiceHandle<Dep4> handle4,
com.jnape.palatable.lambda.functions.Fn4<Dep1,Dep2,Dep3,Dep4,Service<S>> fn) |
Constructs a Service with four dependencies.
|
static <S,Dep1,Dep2,Dep3,Dep4,Dep5> Service<S> |
Service.service(ServiceHandle<Dep1> handle1,
ServiceHandle<Dep2> handle2,
ServiceHandle<Dep3> handle3,
ServiceHandle<Dep4> handle4,
ServiceHandle<Dep5> handle5,
com.jnape.palatable.lambda.functions.Fn5<Dep1,Dep2,Dep3,Dep4,Dep5,Service<S>> fn) |
Constructs a Service with five dependencies.
|
static <S,Dep1,Dep2,Dep3,Dep4,Dep5,Dep6> Service<S> |
Service.service(ServiceHandle<Dep1> handle1,
ServiceHandle<Dep2> handle2,
ServiceHandle<Dep3> handle3,
ServiceHandle<Dep4> handle4,
ServiceHandle<Dep5> handle5,
ServiceHandle<Dep6> handle6,
com.jnape.palatable.lambda.functions.Fn6<Dep1,Dep2,Dep3,Dep4,Dep5,Dep6,Service<S>> fn) |
Constructs a Service with six dependencies.
|
static <S,Dep1,Dep2,Dep3,Dep4,Dep5,Dep6,Dep7> Service<S> |
Service.service(ServiceHandle<Dep1> handle1,
ServiceHandle<Dep2> handle2,
ServiceHandle<Dep3> handle3,
ServiceHandle<Dep4> handle4,
ServiceHandle<Dep5> handle5,
ServiceHandle<Dep6> handle6,
ServiceHandle<Dep7> handle7,
com.jnape.palatable.lambda.functions.Fn7<Dep1,Dep2,Dep3,Dep4,Dep5,Dep6,Dep7,Service<S>> fn) |
Constructs a Service with seven dependencies.
|
static <S> Service<S> |
Service.serviceRef(ServiceHandle<S> handle) |
Constructs a Service by references using a handle.
|