use of org.talend.esb.servicelocator.client.internal.endpoint.ObjectFactory in project tesb-rt-se by Talend.
the class SLPropertiesConverter method toServiceLocatorPropertiesType.
public static ServiceLocatorPropertiesType toServiceLocatorPropertiesType(SLProperties props) {
ObjectFactory of = new ObjectFactory();
ServiceLocatorPropertiesType slPropertiesType = of.createServiceLocatorPropertiesType();
List<EntryType> entries = slPropertiesType.getEntry();
for (String name : props.getPropertyNames()) {
entries.add(createEntry(props, name));
}
return slPropertiesType;
}
Aggregations