// Put in the thread scope the Cocoon object, which gives access
// to the interpreter object, and some Cocoon objects. See
// FOM_Cocoon for more details.
final Object[] args = {};
FOM_Cocoon cocoon = (FOM_Cocoon) context.newObject(this,
"FOM_Cocoon",
args);
cocoon.setParentScope(this);
super.put("cocoon", this, cocoon);