final InputStream logoStream) {
if (jpdlStream == null || processToolConfigStream == null || queueConfigStream == null) {
throw new IllegalArgumentException("at least one of the streams is null");
}
XStream xstream = new XStream();
xstream.aliasPackage("config", ProcessDefinitionConfig.class.getPackage().getName());
xstream.useAttributeFor(String.class);
xstream.useAttributeFor(Boolean.class);
xstream.useAttributeFor(Integer.class);
ProcessDefinitionConfig config = (ProcessDefinitionConfig) xstream.fromXML(processToolConfigStream);