added comment that advises initScripting, applicationStarted and applicationStopped to be synchronized.
This commit is contained in:
		
							parent
							
								
									5482bbfc77
								
							
						
					
					
						commit
						4b35b3bf2c
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -20,17 +20,23 @@ public abstract class HelmaExtension { | |||
| 
 | ||||
| 	/** | ||||
| 	  * called when an Application is started. | ||||
| 	  * This should be synchronized. Every application starting calls this method. Otherwise this could | ||||
| 	  * lead to problems when more than one application starts at the same time. | ||||
| 	  */ | ||||
| 	public abstract void applicationStarted (Application app) throws ConfigurationException; | ||||
| 
 | ||||
| 	/** | ||||
| 	  * called when an Application is stopped. | ||||
| 	  * This should be synchronized. Otherwise this could lead to problems when more than one | ||||
| 	  * application gets stopped. | ||||
| 	  */ | ||||
| 	public abstract void applicationStopped (Application app); | ||||
| 
 | ||||
| 	/** | ||||
| 	  * called by the ScriptingEngine when it is initizalized. throws a ConfigurationException | ||||
| 	  * when this type of ScriptingEngine is not supported. | ||||
| 	  * This should be synchronized. Every application starting calls this method. Otherwise this could | ||||
| 	  * lead to problems when more than one application starts at the same time. | ||||
| 	  */ | ||||
| 	public abstract void initScripting (Application app, ScriptingEngine engine) throws ConfigurationException; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue