global code is updated first, and parent prototypes are updated before
their descendants. The purpose is to respect inter-prototype dependencies,
i.e. HopObject code using global and parent prototype code.
* Marked some private methods as private.
* Use toString() rather than getMessage() on EcmaErrors, otherwise the
error file/line number is missing from the message.
per-thread scope when a get() returns NOT_FOUND on the shared
global scope, fixing http://helma.org/bugs/show_bug.cgi?id=322
(kind of hackish, but ok performance-wise).
Potentially this might also be the place to add compile-once script
modules to the global object using a mixin-style approach.
child node, but *never* deletes it from the database. remove()
actually deletes the node from the database and also releases it
from its parent.
This affects HopObject.remove() and HopObject.remove(HopObject),
which use these methods. From now on, the only way to delete a
HopObject from db is to use the remove() function without arguments.
HopObject.remove(HopObject) should be used to
- remove a child object from an embedded db collection without
deleting it
- removing a hopobject from a relational db collection with
cachemode = aggressive if the collection does not belong to the
child object's parent.
- Do not return on-demand nodes (groupby, accessname) in getProperty().
- Avoid creating loops in parent chain when creating cyclic references
on transient objects before committing them to db
- Removed unused links vector and code
- Rename Enumerations because enum is a reserved word in Java 1.5
don't start it) and run the application and through that class. config arguments
are exactly the same as in the main Server class.
commandline arguments after the [appname.functionname] part are now
passed to the function call as arguments.
scripting exceptions from the application are caught and printed correctly.