For sample plugin code refer below link:
- Before registering class files need to be generated for plugin code.
- XML files required for plugin registration need to be ready
Follow below steps for Registering plugin:
1) Go to Project Properties (Jdeveloper)
2) Go to Deployment and click on new and provide Jar file name.
3) In side jar go to filters and select class files which need to be deployed.
4) Click ok after creation of jar file.
5) Right click on project and click on Deploy and select jar file which was created.
6)Click Next
8) Create new folder and name it as "Lib" and place jar file exported into Lib folder
9) Place plugin.xml folder outside lib folder, Select only Lib and plugin.xml and create zip file with both the files.
10) Plugin Utility file is located in below path.
11) Modify ant.properties as shown below
12) Run ant -f pluginregistration.xml register (in command prompt after browsing upto plugin_utility)
13) Enter following details:
- OIM User Name
- OIM User Password
- URL(t3://localhost:14000)
- weblogic.jndi.WLInitialContextFactory (if it is weblogic server)
- Location of zip file.
14) You need to get following output saying plugin got registered as shown below and BUILD SUCCESSFUL
Thanks !!!