Use a helma.util.SystemMap for app.modules so it is wrapped by the scripting engine
as native object.
This commit is contained in:
		
							parent
							
								
									6f2647712d
								
							
						
					
					
						commit
						358d59fc40
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -89,7 +89,7 @@ public final class Application implements IPathElement, Runnable { | |||
|     Hashtable dbSources; | ||||
| 
 | ||||
|     // map of app modules reflected at app.modules | ||||
|     Hashtable modules; | ||||
|     Map modules; | ||||
| 
 | ||||
|     // internal worker thread for scheduler, session cleanup etc. | ||||
|     Thread worker; | ||||
|  | @ -249,7 +249,7 @@ public final class Application implements IPathElement, Runnable { | |||
| 
 | ||||
|         sessions = new Hashtable(); | ||||
|         dbSources = new Hashtable(); | ||||
|         modules = new Hashtable(); | ||||
|         modules = new SystemMap(); | ||||
| 
 | ||||
|         cachenode = new TransientNode("app"); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue