File Crawler Plug-in Customization |
||||||
Timothy is now all set to customize the Oracle SES File crawler plug-in according to Andrew's requirements. As Andrew is involved in the recruitment process of Oracle Corporation, he wishes that only he should be able to view the resumes of the candidates. This requires file access control to be enforced, so that only Andrew gets to see the files with the file names containing the term "resume." But, the exisiting plug-in handles only public files. Therefore, to meet Andrew's request, Timothy has to customize the crawler plug-in. Timothy first packages the existing File crawler plug-in Java classes into a .jar file. He then defines a user-defined data source type. As a next step, he creates a new data source based on the plug-in defined source type. Timothy then tests the plug-in. When this is done successfully, Timothy customizes the relevant Java files to meet the requirements. Let's watch Timothy working on the sample file crawler plug-in Java files.
|