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

Method getInstance

java/org/apache/tomcat/websocket/PojoHolder.java:57–67  ·  view source on GitHub ↗
(InstanceManager instanceManager)

Source from the content-addressed store, hash-verified

55
56
57 @Override
58 public Endpoint getInstance(InstanceManager instanceManager) throws DeploymentException {
59 if (instanceManager != null) {
60 try {
61 instanceManager.newInstance(pojo);
62 } catch (ReflectiveOperationException | NamingException e) {
63 throw new DeploymentException(sm.getString("clientEndpointHolder.instanceRegistrationFailed"), e);
64 }
65 }
66 return new PojoEndpointClient(pojo, clientEndpointConfig.getDecoders(), instanceManager);
67 }
68}

Callers

nothing calls this directly

Calls 3

newInstanceMethod · 0.65
getStringMethod · 0.65
getDecodersMethod · 0.65

Tested by

no test coverage detected