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

Method getManager

java/org/apache/naming/StringManager.java:153–160  ·  view source on GitHub ↗

Get the StringManager for a particular package. If a manager for a package already exists, it will be reused, else a new StringManager will be created and returned. @param packageName The package name @return The instance associated with the given package

(String packageName)

Source from the content-addressed store, hash-verified

151 * @return The instance associated with the given package
152 */
153 public static synchronized StringManager getManager(String packageName) {
154 StringManager mgr = managers.get(packageName);
155 if (mgr == null) {
156 mgr = new StringManager(packageName);
157 managers.put(packageName, mgr);
158 }
159 return mgr;
160 }
161
162
163 /**

Callers 15

TomcatPluginClass · 0.95
TestStringManagerClass · 0.95
testFrenchMethod · 0.95
testMissingWithTcclMethod · 0.95
testMissingNullTcclMethod · 0.95
TestHttp2LimitsClass · 0.95
TestFlowControlClass · 0.95
testSecretMethod · 0.95
doTestPostMethod · 0.95

Calls 3

getMethod · 0.65
putMethod · 0.65
getNameMethod · 0.65

Tested by 8

testFrenchMethod · 0.76
testMissingWithTcclMethod · 0.76
testMissingNullTcclMethod · 0.76
testSecretMethod · 0.76
doTestPostMethod · 0.76