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

Method newInstance

java/org/apache/tomcat/InstanceManager.java:42–42  ·  view source on GitHub ↗

Create a new instance of the given class. @param clazz The class to instantiate @return the new instance @throws IllegalAccessException if the class or its nullary constructor is not accessible @throws InvocationTargetException if the nullary constructor throws an exception @throws NamingException

(Class<?> clazz)

Source from the content-addressed store, hash-verified

40 * @throws SecurityException if a security manager, s, is present
41 */
42 Object newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, NamingException,
43 InstantiationException, IllegalArgumentException, NoSuchMethodException, SecurityException;
44
45 /**

Callers 15

getServletMethod · 0.95
setEncodersMethod · 0.95
WsSessionMethod · 0.95
createDecoderInstanceMethod · 0.95
loadServletMethod · 0.95
upgradeMethod · 0.95
newInstanceMethod · 0.65
createComparatorMethod · 0.65
createDecoratorMethod · 0.65
getObjectInstanceMethod · 0.65
setupConnectionMethod · 0.65
closeMethod · 0.65

Implementers 3

OpenWebBeansInstanceManagermodules/owb/src/main/java/org/apache/w
SimpleInstanceManagerjava/org/apache/tomcat/SimpleInstanceM
DefaultInstanceManagerjava/org/apache/catalina/core/DefaultI

Calls

no outgoing calls

Tested by 15

createComparatorMethod · 0.52
createDecoratorMethod · 0.52
testSchemaValidationMethod · 0.52
testBug57647Method · 0.52
getObjectInstanceMethod · 0.52
runMethod · 0.52
doGetMethod · 0.52
upgradeMethod · 0.52
invokeDoMethodOnClassMethod · 0.52
loadClassMethod · 0.52
createChannelMethod · 0.52
testDirectoryListingMethod · 0.52