FESI.jslib
Interface JSExtension


public interface JSExtension

Interface used to describe EcmaScript extensions with the jslib package. An extension must implements this interface to be loadable. A new instance of the extension is created by FESI at load time.

As there can be multiple extension (possibly in multiple threads) in a single project, an extension should not have shared static properties (unless protected and to share information between various instances).


Method Summary
 void initializeExtension(JSGlobalObject globalObject)
          Called by the FESI interpreter the first time the extension is loaded in the evaluator.
 

Method Detail

initializeExtension

public void initializeExtension(JSGlobalObject globalObject)
                         throws JSException
Called by the FESI interpreter the first time the extension is loaded in the evaluator.

Parameters:
globalObject - The global object of this evaluator
Throws:
JSException - To be thrown in case of error


IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.