Write a Java plug-in
Writing a Java plug-in
- Create a Java project in your IDE.
- Include the arpluginsvrVerNum.jar file in the AR System server.
- API library directory in the CLASSPATH.
For the directory location, see Installed-plug-in-components. - Create a new class that will implement one of the interfaces listed in Creating-Java-plug-ins, or extend one of the abstract classes listed in that section.
- Import the com.bmc.arsys.pluginsvr.plugins and com.bmc.arsys.api.* packages and other packages, such as java.util.List, into your program.
Implement the methods of the interface or abstract class you are using.
See the Java plug-in API online documentation located at ARSystemServerInstallDir\ARserver\api\javaplugins\arpluginsdocVerNum.jar for details, and consider these tips:- Add an entry that identifies the plug-in to the plug-in server configuration file. For more information, see Configuring-the-Java-plug-in-server.
- If the Java plug-in uses native libraries, perform one of the following actions:
- Include the native libraries in the PATH variable. On UNIX, include the native libraries in the LD_LIBRARY_PATH (Solaris and Linux) or LIBPATH (AIX) environment variable.
- If the libraries need to know the remote host character set, call the getRemoteHostCharSet() method of the ARPluginContext object. For more information, see the Java plug-in API online documentation located at ARSystemServerInstallDir\ARserver\api\javaplugins\arpluginsdocVerNum.jar.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*