/** * Gets the list of {@link BoundEndpoint} that are associated * with this endpoint. * * @return * always return the same set. */ public List<BoundEndpoint> getBoundEndpoints() { Module m = getContainer().getSPI(Module.class); return m != null ? m.getBoundEndpoints() : null; }
protected ServerAdapter(String name, String urlPattern, WSEndpoint endpoint, ServerAdapterList owner) { super(endpoint, owner, urlPattern); this.name = name; // registers itself with the container Module module = endpoint.getContainer().getSPI(Module.class); if(module==null) LOGGER.log(Level.WARNING, "Container {0} doesn''t support {1}", new Object[]{endpoint.getContainer(), Module.class}); else { module.getBoundEndpoints().add(this); } }
/** * Gets the list of {@link BoundEndpoint} that are associated * with this endpoint. * * @return * always return the same set. */ public List<BoundEndpoint> getBoundEndpoints() { Module m = getContainer().getSPI(Module.class); return m != null ? m.getBoundEndpoints() : null; }
/** * Gets the list of {@link BoundEndpoint} that are associated * with this endpoint. * * @return * always return the same set. */ public List<BoundEndpoint> getBoundEndpoints() { Module m = getContainer().getSPI(Module.class); return m != null ? m.getBoundEndpoints() : null; }
protected ServerAdapter(String name, String urlPattern, WSEndpoint endpoint, ServerAdapterList owner) { super(endpoint, owner, urlPattern); this.name = name; // registers itself with the container Module module = endpoint.getContainer().getSPI(Module.class); if(module==null) LOGGER.log(Level.WARNING, "Container {0} doesn''t support {1}", new Object[]{endpoint.getContainer(), Module.class}); else { module.getBoundEndpoints().add(this); } }
protected ServerAdapter(String name, String urlPattern, WSEndpoint endpoint, ServerAdapterList owner) { super(endpoint, owner, urlPattern); this.name = name; // registers itself with the container Module module = endpoint.getContainer().getSPI(Module.class); if(module==null) LOGGER.log(Level.WARNING, "Container {0} doesn''t support {1}", new Object[]{endpoint.getContainer(), Module.class}); else { module.getBoundEndpoints().add(this); } }
private @Nullable WSEndpointImpl<?> getEndpoint(String serviceName, String portName) { if (serviceName == null || portName == null) return null; if (endpoint.getServiceName().getLocalPart().equals(serviceName) && endpoint.getPortName().getLocalPart().equals(portName)) return endpoint; if(beList == null) { //check if it is run in a Java EE Container and get hold of other endpoints in the application Module module = endpoint.getContainer().getSPI(Module.class); if (module != null) { beList = module.getBoundEndpoints(); } else { beList = Collections.<BoundEndpoint>emptyList(); } } for (BoundEndpoint be : beList) { WSEndpoint wse = be.getEndpoint(); if (wse.getServiceName().getLocalPart().equals(serviceName) && wse.getPortName().getLocalPart().equals(portName)) { return (WSEndpointImpl) wse; } } return null; }
private @Nullable WSEndpointImpl<?> getEndpoint(String serviceName, String portName) { if (serviceName == null || portName == null) return null; if (endpoint.getServiceName().getLocalPart().equals(serviceName) && endpoint.getPortName().getLocalPart().equals(portName)) return endpoint; if(beList == null) { //check if it is run in a Java EE Container and get hold of other endpoints in the application Module module = endpoint.getContainer().getSPI(Module.class); if (module != null) { beList = module.getBoundEndpoints(); } else { beList = Collections.<BoundEndpoint>emptyList(); } } for (BoundEndpoint be : beList) { WSEndpoint wse = be.getEndpoint(); if (wse.getServiceName().getLocalPart().equals(serviceName) && wse.getPortName().getLocalPart().equals(portName)) { return (WSEndpointImpl) wse; } } return null; }
private @Nullable WSEndpointImpl<?> getEndpoint(String serviceName, String portName) { if (serviceName == null || portName == null) return null; if (endpoint.getServiceName().getLocalPart().equals(serviceName) && endpoint.getPortName().getLocalPart().equals(portName)) return endpoint; if(beList == null) { //check if it is run in a Java EE Container and get hold of other endpoints in the application Module module = endpoint.getContainer().getSPI(Module.class); if (module != null) { beList = module.getBoundEndpoints(); } else { beList = Collections.<BoundEndpoint>emptyList(); } } for (BoundEndpoint be : beList) { WSEndpoint wse = be.getEndpoint(); if (wse.getServiceName().getLocalPart().equals(serviceName) && wse.getPortName().getLocalPart().equals(portName)) { return (WSEndpointImpl) wse; } } return null; }
List<BoundEndpoint> endpoints = Collections.emptyList(); if(module!=null) { endpoints = module.getBoundEndpoints();
List<BoundEndpoint> endpoints = Collections.emptyList(); if(module!=null) { endpoints = module.getBoundEndpoints();
List<BoundEndpoint> endpoints = Collections.emptyList(); if(module!=null) { endpoints = module.getBoundEndpoints();
@SuppressWarnings("unchecked") protected ServletAdapter(String name, String urlPattern, WSEndpoint endpoint, ServletAdapterList owner) { super(endpoint, owner, urlPattern); this.name = name; // registers itself with the container Module module = endpoint.getContainer().getSPI(Module.class); if (module == null) { LOGGER.log(Level.WARNING, "Container {0} doesn''t support {1}", new Object[]{endpoint.getContainer(), Module.class}); } else { module.getBoundEndpoints().add(this); } boolean sticky = false; if (HighAvailabilityProvider.INSTANCE.isHaEnvironmentConfigured()) { WebServiceFeature[] features = endpoint.getBinding().getFeatures().toArray(); for(WebServiceFeature f : features) { if (f instanceof StickyFeature) { sticky = true; break; } } disableJreplicaCookie = HighAvailabilityProvider.INSTANCE.isDisabledJreplica(); } stickyCookie = sticky; }
@SuppressWarnings("unchecked") protected ServletAdapter(String name, String urlPattern, WSEndpoint endpoint, ServletAdapterList owner) { super(endpoint, owner, urlPattern); this.name = name; // registers itself with the container Module module = endpoint.getContainer().getSPI(Module.class); if (module == null) { LOGGER.log(Level.WARNING, "Container {0} doesn''t support {1}", new Object[]{endpoint.getContainer(), Module.class}); } else { module.getBoundEndpoints().add(this); } boolean sticky = false; if (HighAvailabilityProvider.INSTANCE.isHaEnvironmentConfigured()) { WebServiceFeature[] features = endpoint.getBinding().getFeatures().toArray(); for(WebServiceFeature f : features) { if (f instanceof StickyFeature) { sticky = true; break; } } disableJreplicaCookie = HighAvailabilityProvider.INSTANCE.isDisabledJreplica(); } stickyCookie = sticky; }
@SuppressWarnings("unchecked") protected ServletAdapter(String name, String urlPattern, WSEndpoint endpoint, ServletAdapterList owner) { super(endpoint, owner, urlPattern); this.name = name; // registers itself with the container Module module = endpoint.getContainer().getSPI(Module.class); if (module == null) { LOGGER.log(Level.WARNING, "Container {0} doesn''t support {1}", new Object[]{endpoint.getContainer(), Module.class}); } else { module.getBoundEndpoints().add(this); } boolean sticky = false; if (HighAvailabilityProvider.INSTANCE.isHaEnvironmentConfigured()) { WebServiceFeature[] features = endpoint.getBinding().getFeatures().toArray(); for(WebServiceFeature f : features) { if (f instanceof StickyFeature) { sticky = true; break; } } disableJreplicaCookie = HighAvailabilityProvider.INSTANCE.isDisabledJreplica(); } stickyCookie = sticky; }
List<BoundEndpoint> beList = module.getBoundEndpoints(); for (BoundEndpoint be : beList) { WSEndpoint wse = be.getEndpoint();
List<BoundEndpoint> beList = module.getBoundEndpoints(); for (BoundEndpoint be : beList) { WSEndpoint wse = be.getEndpoint();
List<BoundEndpoint> beList = module.getBoundEndpoints(); for (BoundEndpoint be : beList) { WSEndpoint wse = be.getEndpoint();