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

Method getExecutor

java/org/apache/catalina/mbeans/ServiceMBean.java:130–138  ·  view source on GitHub ↗

Retrieves executor by name @param name Name of the executor to be retrieved @return a string representation of the executor @throws MBeanException error accessing the associated service

(String name)

Source from the content-addressed store, hash-verified

128 * @throws MBeanException error accessing the associated service
129 */
130 public String getExecutor(String name) throws MBeanException {
131 Service service = doGetManagedResource();
132 Executor executor = service.getExecutor(name);
133 if (executor != null) {
134 return executor.toString();
135 } else {
136 return null;
137 }
138 }
139}

Callers

nothing calls this directly

Calls 3

getExecutorMethod · 0.95
doGetManagedResourceMethod · 0.80
toStringMethod · 0.65

Tested by

no test coverage detected