String []props = properties.split("[;]");
if (props.length == 0)
return null;
ContainerProgram program = new ContainerProgram();
for (String prop : props) {
if (prop.length() == 0)
continue;
String []values = prop.split("[=]");
if (values.length != 2)
throw new ConfigException(L.l("'{0}' is an invalid URL. Bean URL syntax is 'scheme:prop1=value1;prop2=value2'", url));
program.addProgram(new PropertyStringProgram(values[0], values[1]));
}
return program;
}