Package org.cometd.javascript
Class ScriptInjectionEventListener
- java.lang.Object
-
- org.cometd.javascript.ScriptInjectionEventListener
-
- All Implemented Interfaces:
EventListener
public class ScriptInjectionEventListener extends Object implements EventListener
A DOM listener that listens for injections of <script> tags and calls a JavaScript function when it detects such injections. This mechanism is used to simulate the browser behavior in case of callback-polling transport. This class is used from thebrowser.jsscript.
-
-
Constructor Summary
Constructors Constructor Description ScriptInjectionEventListener(JavaScript javaScript, Object jsThis, Object function, Map<?,?> domNodes)
-
-
-
Constructor Detail
-
ScriptInjectionEventListener
public ScriptInjectionEventListener(JavaScript javaScript, Object jsThis, Object function, Map<?,?> domNodes)
-
-
Method Detail
-
handleEvent
public void handleEvent(Event evt)
- Specified by:
handleEventin interfaceEventListener
-
-