(InstanceManager instanceManager)
| 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 | } |
nothing calls this directly
no test coverage detected