MCPcopy Create free account
hub / github.com/apache/tomcat / getService

Method getService

java/org/apache/catalina/startup/Tomcat.java:546–548  ·  view source on GitHub ↗

Get the service object. Can be used to add more connectors and few other global settings. @return The service

()

Source from the content-addressed store, hash-verified

544 * @return The service
545 */
546 public Service getService() {
547 return getServer().findServices()[0];
548 }
549
550 /**
551 * Sets the current host - all future webapps will be added to this host. When tomcat starts, the host will be the

Callers 6

testStandaloneMethod · 0.95
testPortMethod · 0.95
testListenerMethod · 0.95
getConnectorMethod · 0.95
setConnectorMethod · 0.95

Calls 2

getServerMethod · 0.95
findServicesMethod · 0.65

Tested by 4

testStandaloneMethod · 0.76
testPortMethod · 0.76
testListenerMethod · 0.76