private static boolean isSticky(WSBinding binding) { boolean tSticky = false; WebServiceFeature[] features = binding.getFeatures().toArray(); for(WebServiceFeature f : features) { if (f instanceof StickyFeature) { tSticky = true; break; } } return tSticky; }
private static boolean isSticky(WSBinding binding) { boolean tSticky = false; WebServiceFeature[] features = binding.getFeatures().toArray(); for(WebServiceFeature f : features) { if (f instanceof StickyFeature) { tSticky = true; break; } } return tSticky; }
private static boolean isSticky(WSBinding binding) { boolean tSticky = false; WebServiceFeature[] features = binding.getFeatures().toArray(); for(WebServiceFeature f : features) { if (f instanceof StickyFeature) { tSticky = true; break; } } return tSticky; }
public final @NotNull WSBinding createBinding(WSFeatureList features) { return createBinding(features.toArray()); }
public final @NotNull WSBinding createBinding(WSFeatureList features) { return createBinding(features.toArray()); }
public final @NotNull WSBinding createBinding(WSFeatureList features) { return createBinding(features.toArray()); }
static public WebServiceFeature[] toFeatureArray(WSBinding binding) { //TODO scchen convert BindingID to WebServiceFeature[] if(!binding.isFeatureEnabled(EnvelopeStyleFeature.class)) { WebServiceFeature[] f = { binding.getSOAPVersion().toFeature() }; binding.getFeatures().mergeFeatures(f, false); } return binding.getFeatures().toArray(); } }
static public WebServiceFeature[] toFeatureArray(WSBinding binding) { //TODO scchen convert BindingID to WebServiceFeature[] if(!binding.isFeatureEnabled(EnvelopeStyleFeature.class)) { WebServiceFeature[] f = { binding.getSOAPVersion().toFeature() }; binding.getFeatures().mergeFeatures(f, false); } return binding.getFeatures().toArray(); } }
static public WebServiceFeature[] toFeatureArray(WSBinding binding) { //TODO scchen convert BindingID to WebServiceFeature[] if(!binding.isFeatureEnabled(EnvelopeStyleFeature.class)) { WebServiceFeature[] f = { binding.getSOAPVersion().toFeature() }; binding.getFeatures().mergeFeatures(f, false); } return binding.getFeatures().toArray(); } }
@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; }