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 ServiceDependenciesSpecServiceDependenciesSpec. 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 givendependentsTypethat match thedependentspredicate are dependent on all services that are of thedependenciesTypethat match thedependenciespredicate.ServiceDependenciesSpecServiceDependenciesSpec. dependsOn(Predicate<? super Service> dependents, Predicate<? super Service> dependencies)Specifies that all services that match thedependentspredicate are dependent on all services that match thedependenciespredicate.Methods in ratpack.core.service with parameters of type ServiceDependenciesSpec Modifier and Type Method Description voidServiceDependencies. define(ServiceDependenciesSpec spec)Declares service depenencies via the given spec.
-