Package org.apache.juddi

Examples of org.apache.juddi.Property


  @Test
  public void initialContextInfo_Java2XML()
  {
    try {
      List<Property> properties= new ArrayList<Property>();
      Property property1 = new Property(Context.INITIAL_CONTEXT_FACTORY,"value1");
      properties.add(property1);
      Property property2 = new Property(Context.PROVIDER_URL,"value2");
      properties.add(property2);
      InitialContextInfo contextInfo = new InitialContextInfo();
      contextInfo.setProperty(properties);
      JAXBContext jc = JAXBContext.newInstance(InitialContextInfo.class);
      Marshaller m = jc.createMarshaller();
View Full Code Here

TOP

Related Classes of org.apache.juddi.Property

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.