Process jsProcess = null;
String[] parts = processNameObj.toString().split(":");
Name name = new NameImpl(parts[0], parts[1]);
ProcessFactory factory = Processors.createProcessFactory(name);
if (factory != null) {
org.geotools.process.Process process = factory.create(name);
Scriptable scope = ScriptableObject.getTopLevelScope(processNameObj);
jsProcess = new Process(scope, factory.getTitle(name),
factory.getDescription(name), factory.getParameterInfo(name),
factory.getResultInfo(name, null), process);
}