Community articleImplementing the extension initialization method
Added by IBM contributorIBM on May 6, 2011
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

The API will initialize an extension by calling the extensionInit method and passing the method an object known as the IFX Manager.

Implement the extensionInit method as part of the Extension class.
  • extensionInit is the main function within theExtension interface. It is responsible for the registration of all the services that the extension provides.
  • The following is an example of the extensionInit method in the FCIExtension class.
  •       public class FCIExtension extends ExtensionImplBase implements 
             public void extensionInit(IFX IFXMan) throws UWIException
                /* Additional code removed */

  • The IFXMan object represents the IFX Manager. Through this object all other objects and services can be reached.
  • UWIException is a generic exception.

Parent topic: Creating Extensions with the FCI methods