Return the Service to which this container belongs. @param container The container to start from @return the Service, or null if not found
(Container container)
| 305 | * @return the Service, or null if not found |
| 306 | */ |
| 307 | static Service getService(Container container) { |
| 308 | while (container != null && !(container instanceof Engine)) { |
| 309 | container = container.getParent(); |
| 310 | } |
no outgoing calls
no test coverage detected