org.mozilla.javascript

Interface ContextFactory.Listener

Known Subinterfaces:
ContextListener

public static interface ContextFactory.Listener

Listener of Context creation and release events.

Method Summary

void
contextCreated(Context cx)
Notify about newly created Context object.
void
contextReleased(Context cx)
Notify that the specified Context instance is no longer associated with the current thread.

Method Details

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.