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

Method lookup

java/org/apache/naming/SelectorContext.java:114–125  ·  view source on GitHub ↗
(Name name)

Source from the content-addressed store, hash-verified

112
113
114 @Override
115 public Object lookup(Name name) throws NamingException {
116
117 if (log.isTraceEnabled()) {
118 log.trace(sm.getString("selectorContext.methodUsingName", "lookup", name));
119 }
120
121 // Strip the URL header
122 // Find the appropriate NamingContext according to the current bindings
123 // Execute the lookup on that context
124 return getBoundContext().lookup(parseName(name));
125 }
126
127
128 @Override

Callers

nothing calls this directly

Calls 6

getBoundContextMethod · 0.95
parseNameMethod · 0.95
isTraceEnabledMethod · 0.65
traceMethod · 0.65
getStringMethod · 0.65
lookupMethod · 0.65

Tested by

no test coverage detected