Remote Manager Place the JAR file or files into this subdirectory. You can use these files to create

Developing Adapters 2-9 at run time. The following two APIs are available to compile adapters programmatically: ■ public void compileAdapter String adapterName : This API compiles a single adapter and stores the compiled classfile in the database. It takes the name of the adapter as a parameter. If the adapter is not found or if there are any errors, the API throws an appropriate exception. ■ public void compileAll : This API compiles all adapters in a system. If it encounters any errors during compilation, it throws an exception of the type tcBulkException . This exception comprises all the individual errors that the API encounters during compilation. You can modify the adapters manually if you make any changes.

2.3.4.2 Compiling Adapters Manually

The Adapter Manager form is located in the Development Tools folder. You use it to compile multiple adapters simultaneously. To manually compile multiple adapters, perform these steps:

1. Open the Adapter Manager form.

The Adapter Manager form is in the Development Tools folder. It is used to compile multiple adapters simultaneously, as shown in Figure 2–3 . Figure 2–3 Adapter Manager Form

2. To compile every adapter that resides within the Oracle Identity Manager

database, select the Compile All option. To compile multiple adapters, select the adapters you want to compile. Then, select the Compile Selected option. To compile all adapters that do not have an OK status, select the Compile Previously Failed option.

3. Click the Start button.

Oracle Identity Manager will compile the adapters that match the criteria you specified in Step 2. Note: You must set the path of the JDK directory in the XL.CompilerPath system property. Otherwise, an error is encountered during the adapter compilation stage when you import an XML file using the Deployment Manager. Refer to the System Properties in Oracle Identity Manager in the Oracle Fusion Middleware System Administrators Guide for Oracle Identity Manager for information about setting values of system properties.