Uses of Interface
ratpack.service.Service
-
Packages that use Service Package Description ratpack.service Services participate in the application start/stop lifecycle. -
-
Uses of Service in ratpack.service
Methods in ratpack.service that return Service Modifier and Type Method Description static Service
Service. shutdown(java.lang.String name, Action<? super StopEvent> action)
Creates a service that executes the given action as theonStop(StopEvent)
implementation.static Service
Service. startup(java.lang.String name, Action<? super StartEvent> action)
Creates a service that executes the given action as theonStart(StartEvent)
implementation.Method parameters in ratpack.service with type arguments of type Service Modifier and Type Method Description 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.
-