Create Business Logic Task Handlers
You define a business logic task handler’s fully qualified class name as follows:
cim1265
You define a business logic task handler’s fully qualified class name as follows:
- Create or modify an admin task.
- On the Admin Profile tab, click Business Logic Task Handlers.The Business Logic Task Handlers screen appears. This screen lists any existing business logic task handlers assigned to the task.Identity Managerexecutes the handlers in the order in which they appear in the list.
- Click Add.The Business Logic Task Handler Detail screen appears.
Use the Business Logic Task Handler Detail screen to define the following information for the business logic task handler you are assigning to the task:
- NameThe name you are assigning to the business logic task handler.
- DescriptionAn optional description of the business logic task handler.
- Java ClassIf the business logic task handler is implemented in Java, the fully qualified business logic task handler class name--for example:com.mycompany.MyJavaBLTHIdentity Managerexpects the class file to be located in the root directory designated for custom Java class files. For information on deploying Java class files, see theProgramming Guide for Java.
- JavaScript FilenameIf the business logic task handler is implemented in JavaScript, and the JavaScript code is contained in a file, specify the file name in this field. For example, you might want to put the JavaScript in a file if the business logic task handler is to be used by several task screens.Identity Managerexpects the file to be located in the root directory designated for custom JavaScript files. For information on deploying JavaScript files, see theProgramming Guide for Java.If you store the file in a subdirectory of the root, include the subdirectory name when you specify the JavaScript file name--for example:JavaScriptSubDir\MyJavaScriptBLTH.jsThe slashes must be appropriate for the platform where the JavaScript file is deployed.
- JavaScriptYou can implement a JavaScript business logic task handler by typing the complete JavaScript code in this field instead of in a file. For example, you might want to put the JavaScript in this field if the script is very short or if it is to be used with no other task screens.
- Property and ValueWith Java implementations, these fields are optional name/value pairs of data that are passed into the init() method of the Java business logic task handler, to be used in any way that the handler’s business logic requires.To add a user-defined property, specify a property name and value, and then click Add.
If you add a Java business logic task handler, you restart the application server for the handler to be loaded.