org.mozilla.javascript

Interface ContextFactory.Listener

public interface ContextFactory.Listener

Listener of Context creation and release events.
Method Summary
voidcontextCreated(Context cx)
Notify about newly created Context object.
voidcontextReleased(Context cx)
Notify that the specified Context instance is no longer associated with the current thread.

Method Detail

contextCreated

public void contextCreated(Context cx)
Notify about newly created Context object.

contextReleased

public void contextReleased(Context cx)
Notify that the specified Context instance is no longer associated with the current thread.