Class ScriptInjectionEventListener

java.lang.Object
org.cometd.javascript.ScriptInjectionEventListener
All Implemented Interfaces:
EventListener

public class ScriptInjectionEventListener
extends Object
implements EventListener
A DOM listener that listen 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 the env.js script.