Implementing the extension initialization method

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 
          Extension
          {
             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.