Uses of Interface
ratpack.core.service.ServiceDependenciesSpec
-
Packages that use ServiceDependenciesSpec Package Description ratpack.core.service Services participate in the application start/stop lifecycle. -
-
Uses of ServiceDependenciesSpec in ratpack.core.service
Methods in ratpack.core.service that return ServiceDependenciesSpec Modifier and Type Method Description default ServiceDependenciesSpec
ServiceDependenciesSpec. dependsOn(Class<?> dependents, Class<?> dependencies)
A convenience form ofdependsOn(Predicate, Predicate)
where the predicates are based on compatibility with the given types.default <T1,T2>
ServiceDependenciesSpecServiceDependenciesSpec. dependsOn(Class<T1> dependentsType, Predicate<? super T1> dependents, Class<T2> dependenciesType, Predicate<? super T2> dependencies)
Specifies that all services that are of the givendependentsType
that match thedependents
predicate are dependent on all services that are of thedependenciesType
that match thedependencies
predicate.ServiceDependenciesSpec
ServiceDependenciesSpec. dependsOn(Predicate<? super Service> dependents, Predicate<? super Service> dependencies)
Specifies that all services that match thedependents
predicate are dependent on all services that match thedependencies
predicate.Methods in ratpack.core.service with parameters of type ServiceDependenciesSpec Modifier and Type Method Description void
ServiceDependencies. define(ServiceDependenciesSpec spec)
Declares service depenencies via the given spec.
-