make app work again with new way of retrieving a custom root object (helma.main.Server, that is)
This commit is contained in:
parent
8f6503ae6b
commit
a48d2fefc9
1 changed files with 15 additions and 0 deletions
|
@ -1,5 +1,20 @@
|
|||
|
||||
#
|
||||
# define the root class of this application
|
||||
#
|
||||
root = helma.main.Server
|
||||
|
||||
#
|
||||
# root.factory is used to retrieve the root class of the application
|
||||
# when the instance has already been created when the application comes up.
|
||||
# this is true for the helma server that is scripted here.
|
||||
#
|
||||
root.factory.class = helma.main.Server
|
||||
root.factory.method = getServer
|
||||
|
||||
#
|
||||
# Map Java classes to the prototype used to script them
|
||||
# and, yes, map the root class again.
|
||||
#
|
||||
|
||||
helma.main.Server = root
|
||||
|
|
Loading…
Add table
Reference in a new issue