Use the Java™ API data source and the Java programming language to collect data in a long-running process that is separate from the agent process.
Use the Java API data source and the Java programming language to collect data that cannot be collected by using other Agent Builder data sources. The agent starts the Java application and sends a shutdown request when it is time to shutdown. The Java application must exit only when it is requested to do so.
Use the following procedure to create an attribute group which collects data in a Java application and sends it using the Java API. The procedure shows how to create a sample Java application to use as a starting point for your Java application.
Select the correct operating systems on the Java API Settings page. Make this selection if this attribute group and the Java application, run on operating systems different from the operating systems that are defined for the agent. To open the page, click Java API Settings in the outline view or click Global Settings in the Agent Editor on any Java API attribute group page.