Package com.sun.enterprise.deployment

Examples of com.sun.enterprise.deployment.NameValuePairDescriptor


        return callProperties;
    }

    private void setCallProperties(Call call, Set callProperties) {
        for(Iterator iter = callProperties.iterator(); iter.hasNext();) {
            NameValuePairDescriptor next = (NameValuePairDescriptor)
                    iter.next();
            call.setProperty(next.getName(), next.getValue());
        }
    }
View Full Code Here


        if( portInfo != null ) {
            Set properties = portInfo.getStubProperties();

            for(Iterator iter = properties.iterator(); iter.hasNext();) {
                NameValuePairDescriptor next = (NameValuePairDescriptor)
                        iter.next();
                if( next.getName().equals
                        (WsUtil.CLIENT_TRANSPORT_LOG_PROPERTY) ) {
                    // value is a URL
                    wsUtil.setClientTransportLog(serviceRef, stub,
                            next.getValue());
                } else if(next.getName().equals(ServiceEngineUtil.JBI_ENABLED)){
                    setJBIProperties(stub, portInfo);
                } else {
                    stub._setProperty(next.getName(), next.getValue());
                }
            }

            // If this port has a resolved target endpoint address due to a
            // port-component-link, set it on stub.  However, if the runtime
View Full Code Here

            }
           
            // Set stub properties
            Set properties = portInfo.getStubProperties();           
            for(Iterator iter = properties.iterator(); iter.hasNext();) {
                NameValuePairDescriptor next = (NameValuePairDescriptor)
                    iter.next();
                bp.getRequestContext().put(next.getName(), next.getValue());
               
            }
        }       
    }
View Full Code Here

        // properties*
        Iterator properties = descriptor.getProperties();
  if (properties!=null) {
      RuntimeNameValuePairNode propNode = new RuntimeNameValuePairNode();       
      while (properties.hasNext()) {
    NameValuePairDescriptor aProp = (NameValuePairDescriptor) properties.next();
    propNode.writeDescriptor(cmp, RuntimeTagNames.PROPERTY, aProp);
      }
  }
       
        // createTableAtDeploy, dropTableAtUndeploy
View Full Code Here

    public void writeDescriptor(Node parent, String nodeName, Iterator props) {
  if (props==null)
      return;
     
  while(props.hasNext()) {
      NameValuePairDescriptor aProp = (NameValuePairDescriptor) props.next();
      writeDescriptor(parent, nodeName, aProp);
  }
    }
View Full Code Here

    }
   
    //
    public boolean isPropertyElement(int index)
    {
  NameValuePairDescriptor ret = (NameValuePairDescriptor)this.getValue(PROPERTY, index);
  return ret != null;
    }
View Full Code Here

            // stub-property*
            NameValuePairNode nameValueNode = new NameValuePairNode();

            Set stubProperties = desc.getStubProperties();
            for (Iterator iter = stubProperties.iterator(); iter.hasNext();) {
                NameValuePairDescriptor next = (NameValuePairDescriptor) iter.next();
                nameValueNode.writeDescriptor
                        (serviceRefPortInfoRuntimeNode,
                                WebServicesTagNames.STUB_PROPERTY, next);
            }

            // call-property*
            for (Iterator iter = desc.getCallProperties().iterator();
                 iter.hasNext();) {
                NameValuePairDescriptor next = (NameValuePairDescriptor) iter.next();
                nameValueNode.writeDescriptor
                        (serviceRefPortInfoRuntimeNode,
                                WebServicesTagNames.CALL_PROPERTY, next);
            }

View Full Code Here

   /**
    * @return the descriptor instance to associate with this XMLNode
    */   
    public Object getDescriptor() {
        if (descriptor==null) {
            descriptor = new NameValuePairDescriptor();
        }
        return descriptor;
    }
View Full Code Here

        NameValuePairNode nameValueNode = new NameValuePairNode();

        Set stubProperties = desc.getStubProperties();
        for(Iterator iter = stubProperties.iterator(); iter.hasNext();) {
            NameValuePairDescriptor next = (NameValuePairDescriptor)iter.next();
            nameValueNode.writeDescriptor
                (serviceRefPortInfoRuntimeNode,
                 WebServicesTagNames.STUB_PROPERTY, next);
        }

        // call-property*
        for(Iterator iter = desc.getCallProperties().iterator();
            iter.hasNext();) {
            NameValuePairDescriptor next = (NameValuePairDescriptor)iter.next();
            nameValueNode.writeDescriptor
                (serviceRefPortInfoRuntimeNode,
                 WebServicesTagNames.CALL_PROPERTY, next);
        }

View Full Code Here

TOP

Related Classes of com.sun.enterprise.deployment.NameValuePairDescriptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.