checkObjectAttribute( "process",
this.process );
ProcessContext context = getProcessContext();
ProcessEngine engine = null;
ProcessContext spawned = null;
if ( context == null )
{
engine = getEngine();
if ( engine == null )
{
throw new MissingAttributeException( "engine" );
}
boolean async = false;
if ( this.async != null )
{
async = this.async.booleanValue();
}
spawned = engine.spawn( getProcess(),
async );
}
else
{
engine = context.getProcessEngine();
if ( this.async != null )
{
throw new JellyException( "async attribute only via for non-nested process" );
}
spawned = engine.spawn( getProcess(),
context );
}
if ( getVar() != null )
{