org.mozilla.javascript

Interface ContextFactory.Listener

public interface ContextFactory.Listener

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

Method Detail

contextCreated

public void contextCreated(Context cx)
Notify about newly created {@link Context} object.

contextReleased

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