MCPcopy Index your code
hub / github.com/apache/tomcat / getEngine

Method getEngine

java/org/apache/catalina/session/ManagerBase.java:908–916  ·  view source on GitHub ↗

Retrieve the enclosing Engine for this Manager. @return an Engine object (or null).

()

Source from the content-addressed store, hash-verified

906 * @return an Engine object (or null).
907 */
908 public Engine getEngine() {
909 Engine e = null;
910 for (Container c = getContext(); e == null && c != null; c = c.getParent()) {
911 if (c instanceof Engine) {
912 e = (Engine) c;
913 }
914 }
915 return e;
916 }
917
918
919 /**

Callers 1

getJvmRouteMethod · 0.95

Calls 2

getContextMethod · 0.95
getParentMethod · 0.95

Tested by

no test coverage detected