You can overwrite the default ld_preload.json to auto-attach Java Agent to a specific service. For more information about auto-attach feature, see Auto-Attach Agents to Applications.
Use the configure command on Smart Agent CLI to overwrite the configuration.