Java Code Examples for com.sun.xml.internal.ws.api.model.SEIModel#getBoundPortTypeName()
The following examples show how to use
com.sun.xml.internal.ws.api.model.SEIModel#getBoundPortTypeName() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MtomPolicyMapConfigurator.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
/** * Generates an MTOM policy if MTOM is enabled. * * <ol> * <li>If MTOM is enabled * <ol> * <li>If MTOM policy does not already exist, generate * <li>Otherwise do nothing * </ol> * <li>Otherwise, do nothing (that implies that we do not remove any MTOM policies if MTOM is disabled) * </ol> * */ public Collection<PolicySubject> update(PolicyMap policyMap, SEIModel model, WSBinding wsBinding) throws PolicyException { LOGGER.entering(policyMap, model, wsBinding); Collection<PolicySubject> subjects = new ArrayList<PolicySubject>(); if (policyMap != null) { final MTOMFeature mtomFeature = wsBinding.getFeature(MTOMFeature.class); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest("mtomFeature = " + mtomFeature); } if ((mtomFeature != null) && mtomFeature.isEnabled()) { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy mtomPolicy = createMtomPolicy(bindingName); final PolicySubject mtomPolicySubject = new PolicySubject(wsdlSubject, mtomPolicy); subjects.add(mtomPolicySubject); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.fine("Added MTOM policy with ID \"" + mtomPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } } } // endif policy map not null LOGGER.exiting(subjects); return subjects; }
Example 2
Source File: MtomPolicyMapConfigurator.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** * Generates an MTOM policy if MTOM is enabled. * * <ol> * <li>If MTOM is enabled * <ol> * <li>If MTOM policy does not already exist, generate * <li>Otherwise do nothing * </ol> * <li>Otherwise, do nothing (that implies that we do not remove any MTOM policies if MTOM is disabled) * </ol> * */ public Collection<PolicySubject> update(PolicyMap policyMap, SEIModel model, WSBinding wsBinding) throws PolicyException { LOGGER.entering(policyMap, model, wsBinding); Collection<PolicySubject> subjects = new ArrayList<PolicySubject>(); if (policyMap != null) { final MTOMFeature mtomFeature = wsBinding.getFeature(MTOMFeature.class); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest("mtomFeature = " + mtomFeature); } if ((mtomFeature != null) && mtomFeature.isEnabled()) { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy mtomPolicy = createMtomPolicy(bindingName); final PolicySubject mtomPolicySubject = new PolicySubject(wsdlSubject, mtomPolicy); subjects.add(mtomPolicySubject); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.fine("Added MTOM policy with ID \"" + mtomPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } } } // endif policy map not null LOGGER.exiting(subjects); return subjects; }
Example 3
Source File: MtomPolicyMapConfigurator.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
/** * Generates an MTOM policy if MTOM is enabled. * * <ol> * <li>If MTOM is enabled * <ol> * <li>If MTOM policy does not already exist, generate * <li>Otherwise do nothing * </ol> * <li>Otherwise, do nothing (that implies that we do not remove any MTOM policies if MTOM is disabled) * </ol> * */ public Collection<PolicySubject> update(PolicyMap policyMap, SEIModel model, WSBinding wsBinding) throws PolicyException { LOGGER.entering(policyMap, model, wsBinding); Collection<PolicySubject> subjects = new ArrayList<PolicySubject>(); if (policyMap != null) { final MTOMFeature mtomFeature = wsBinding.getFeature(MTOMFeature.class); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest("mtomFeature = " + mtomFeature); } if ((mtomFeature != null) && mtomFeature.isEnabled()) { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy mtomPolicy = createMtomPolicy(bindingName); final PolicySubject mtomPolicySubject = new PolicySubject(wsdlSubject, mtomPolicy); subjects.add(mtomPolicySubject); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.fine("Added MTOM policy with ID \"" + mtomPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } } } // endif policy map not null LOGGER.exiting(subjects); return subjects; }
Example 4
Source File: MtomPolicyMapConfigurator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
/** * Generates an MTOM policy if MTOM is enabled. * * <ol> * <li>If MTOM is enabled * <ol> * <li>If MTOM policy does not already exist, generate * <li>Otherwise do nothing * </ol> * <li>Otherwise, do nothing (that implies that we do not remove any MTOM policies if MTOM is disabled) * </ol> * */ public Collection<PolicySubject> update(PolicyMap policyMap, SEIModel model, WSBinding wsBinding) throws PolicyException { LOGGER.entering(policyMap, model, wsBinding); Collection<PolicySubject> subjects = new ArrayList<PolicySubject>(); if (policyMap != null) { final MTOMFeature mtomFeature = wsBinding.getFeature(MTOMFeature.class); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest("mtomFeature = " + mtomFeature); } if ((mtomFeature != null) && mtomFeature.isEnabled()) { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy mtomPolicy = createMtomPolicy(bindingName); final PolicySubject mtomPolicySubject = new PolicySubject(wsdlSubject, mtomPolicy); subjects.add(mtomPolicySubject); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.fine("Added MTOM policy with ID \"" + mtomPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } } } // endif policy map not null LOGGER.exiting(subjects); return subjects; }
Example 5
Source File: MtomPolicyMapConfigurator.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
/** * Generates an MTOM policy if MTOM is enabled. * * <ol> * <li>If MTOM is enabled * <ol> * <li>If MTOM policy does not already exist, generate * <li>Otherwise do nothing * </ol> * <li>Otherwise, do nothing (that implies that we do not remove any MTOM policies if MTOM is disabled) * </ol> * */ public Collection<PolicySubject> update(PolicyMap policyMap, SEIModel model, WSBinding wsBinding) throws PolicyException { LOGGER.entering(policyMap, model, wsBinding); Collection<PolicySubject> subjects = new ArrayList<PolicySubject>(); if (policyMap != null) { final MTOMFeature mtomFeature = wsBinding.getFeature(MTOMFeature.class); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest("mtomFeature = " + mtomFeature); } if ((mtomFeature != null) && mtomFeature.isEnabled()) { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy mtomPolicy = createMtomPolicy(bindingName); final PolicySubject mtomPolicySubject = new PolicySubject(wsdlSubject, mtomPolicy); subjects.add(mtomPolicySubject); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.fine("Added MTOM policy with ID \"" + mtomPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } } } // endif policy map not null LOGGER.exiting(subjects); return subjects; }
Example 6
Source File: MtomPolicyMapConfigurator.java From hottub with GNU General Public License v2.0 | 6 votes |
/** * Generates an MTOM policy if MTOM is enabled. * * <ol> * <li>If MTOM is enabled * <ol> * <li>If MTOM policy does not already exist, generate * <li>Otherwise do nothing * </ol> * <li>Otherwise, do nothing (that implies that we do not remove any MTOM policies if MTOM is disabled) * </ol> * */ public Collection<PolicySubject> update(PolicyMap policyMap, SEIModel model, WSBinding wsBinding) throws PolicyException { LOGGER.entering(policyMap, model, wsBinding); Collection<PolicySubject> subjects = new ArrayList<PolicySubject>(); if (policyMap != null) { final MTOMFeature mtomFeature = wsBinding.getFeature(MTOMFeature.class); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest("mtomFeature = " + mtomFeature); } if ((mtomFeature != null) && mtomFeature.isEnabled()) { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy mtomPolicy = createMtomPolicy(bindingName); final PolicySubject mtomPolicySubject = new PolicySubject(wsdlSubject, mtomPolicy); subjects.add(mtomPolicySubject); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.fine("Added MTOM policy with ID \"" + mtomPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } } } // endif policy map not null LOGGER.exiting(subjects); return subjects; }
Example 7
Source File: MtomPolicyMapConfigurator.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
/** * Generates an MTOM policy if MTOM is enabled. * * <ol> * <li>If MTOM is enabled * <ol> * <li>If MTOM policy does not already exist, generate * <li>Otherwise do nothing * </ol> * <li>Otherwise, do nothing (that implies that we do not remove any MTOM policies if MTOM is disabled) * </ol> * */ public Collection<PolicySubject> update(PolicyMap policyMap, SEIModel model, WSBinding wsBinding) throws PolicyException { LOGGER.entering(policyMap, model, wsBinding); Collection<PolicySubject> subjects = new ArrayList<PolicySubject>(); if (policyMap != null) { final MTOMFeature mtomFeature = wsBinding.getFeature(MTOMFeature.class); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest("mtomFeature = " + mtomFeature); } if ((mtomFeature != null) && mtomFeature.isEnabled()) { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy mtomPolicy = createMtomPolicy(bindingName); final PolicySubject mtomPolicySubject = new PolicySubject(wsdlSubject, mtomPolicy); subjects.add(mtomPolicySubject); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.fine("Added MTOM policy with ID \"" + mtomPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } } } // endif policy map not null LOGGER.exiting(subjects); return subjects; }
Example 8
Source File: MtomPolicyMapConfigurator.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
/** * Generates an MTOM policy if MTOM is enabled. * * <ol> * <li>If MTOM is enabled * <ol> * <li>If MTOM policy does not already exist, generate * <li>Otherwise do nothing * </ol> * <li>Otherwise, do nothing (that implies that we do not remove any MTOM policies if MTOM is disabled) * </ol> * */ public Collection<PolicySubject> update(PolicyMap policyMap, SEIModel model, WSBinding wsBinding) throws PolicyException { LOGGER.entering(policyMap, model, wsBinding); Collection<PolicySubject> subjects = new ArrayList<PolicySubject>(); if (policyMap != null) { final MTOMFeature mtomFeature = wsBinding.getFeature(MTOMFeature.class); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest("mtomFeature = " + mtomFeature); } if ((mtomFeature != null) && mtomFeature.isEnabled()) { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy mtomPolicy = createMtomPolicy(bindingName); final PolicySubject mtomPolicySubject = new PolicySubject(wsdlSubject, mtomPolicy); subjects.add(mtomPolicySubject); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.fine("Added MTOM policy with ID \"" + mtomPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } } } // endif policy map not null LOGGER.exiting(subjects); return subjects; }
Example 9
Source File: AddressingPolicyMapConfigurator.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private void addWsamAddressing(Collection<PolicySubject> subjects, PolicyMap policyMap, SEIModel model, AddressingFeature addressingFeature) throws PolicyException { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy addressingPolicy = createWsamAddressingPolicy(bindingName, addressingFeature); final PolicySubject addressingPolicySubject = new PolicySubject(wsdlSubject, addressingPolicy); subjects.add(addressingPolicySubject); if (LOGGER.isLoggable(Level.FINE)) { LOGGER.fine("Added addressing policy with ID \"" + addressingPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } }
Example 10
Source File: AddressingPolicyMapConfigurator.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private void addWsamAddressing(Collection<PolicySubject> subjects, PolicyMap policyMap, SEIModel model, AddressingFeature addressingFeature) throws PolicyException { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy addressingPolicy = createWsamAddressingPolicy(bindingName, addressingFeature); final PolicySubject addressingPolicySubject = new PolicySubject(wsdlSubject, addressingPolicy); subjects.add(addressingPolicySubject); if (LOGGER.isLoggable(Level.FINE)) { LOGGER.fine("Added addressing policy with ID \"" + addressingPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } }
Example 11
Source File: AddressingPolicyMapConfigurator.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private void addWsamAddressing(Collection<PolicySubject> subjects, PolicyMap policyMap, SEIModel model, AddressingFeature addressingFeature) throws PolicyException { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy addressingPolicy = createWsamAddressingPolicy(bindingName, addressingFeature); final PolicySubject addressingPolicySubject = new PolicySubject(wsdlSubject, addressingPolicy); subjects.add(addressingPolicySubject); if (LOGGER.isLoggable(Level.FINE)) { LOGGER.fine("Added addressing policy with ID \"" + addressingPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } }
Example 12
Source File: AddressingPolicyMapConfigurator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private void addWsamAddressing(Collection<PolicySubject> subjects, PolicyMap policyMap, SEIModel model, AddressingFeature addressingFeature) throws PolicyException { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy addressingPolicy = createWsamAddressingPolicy(bindingName, addressingFeature); final PolicySubject addressingPolicySubject = new PolicySubject(wsdlSubject, addressingPolicy); subjects.add(addressingPolicySubject); if (LOGGER.isLoggable(Level.FINE)) { LOGGER.fine("Added addressing policy with ID \"" + addressingPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } }
Example 13
Source File: AddressingPolicyMapConfigurator.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private void addWsamAddressing(Collection<PolicySubject> subjects, PolicyMap policyMap, SEIModel model, AddressingFeature addressingFeature) throws PolicyException { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy addressingPolicy = createWsamAddressingPolicy(bindingName, addressingFeature); final PolicySubject addressingPolicySubject = new PolicySubject(wsdlSubject, addressingPolicy); subjects.add(addressingPolicySubject); if (LOGGER.isLoggable(Level.FINE)) { LOGGER.fine("Added addressing policy with ID \"" + addressingPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } }
Example 14
Source File: AddressingPolicyMapConfigurator.java From hottub with GNU General Public License v2.0 | 5 votes |
private void addWsamAddressing(Collection<PolicySubject> subjects, PolicyMap policyMap, SEIModel model, AddressingFeature addressingFeature) throws PolicyException { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy addressingPolicy = createWsamAddressingPolicy(bindingName, addressingFeature); final PolicySubject addressingPolicySubject = new PolicySubject(wsdlSubject, addressingPolicy); subjects.add(addressingPolicySubject); if (LOGGER.isLoggable(Level.FINE)) { LOGGER.fine("Added addressing policy with ID \"" + addressingPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } }
Example 15
Source File: AddressingPolicyMapConfigurator.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private void addWsamAddressing(Collection<PolicySubject> subjects, PolicyMap policyMap, SEIModel model, AddressingFeature addressingFeature) throws PolicyException { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy addressingPolicy = createWsamAddressingPolicy(bindingName, addressingFeature); final PolicySubject addressingPolicySubject = new PolicySubject(wsdlSubject, addressingPolicy); subjects.add(addressingPolicySubject); if (LOGGER.isLoggable(Level.FINE)) { LOGGER.fine("Added addressing policy with ID \"" + addressingPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } }
Example 16
Source File: AddressingPolicyMapConfigurator.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private void addWsamAddressing(Collection<PolicySubject> subjects, PolicyMap policyMap, SEIModel model, AddressingFeature addressingFeature) throws PolicyException { final QName bindingName = model.getBoundPortTypeName(); final WsdlBindingSubject wsdlSubject = WsdlBindingSubject.createBindingSubject(bindingName); final Policy addressingPolicy = createWsamAddressingPolicy(bindingName, addressingFeature); final PolicySubject addressingPolicySubject = new PolicySubject(wsdlSubject, addressingPolicy); subjects.add(addressingPolicySubject); if (LOGGER.isLoggable(Level.FINE)) { LOGGER.fine("Added addressing policy with ID \"" + addressingPolicy.getIdOrName() + "\" to binding element \"" + bindingName + "\""); } }